mirror of
https://github.com/onlyworlds/obsidian-plugin.git
synced 2026-07-22 11:00:31 +00:00
Add a destination choice to "Export as OnlyWorlds folder": keep the vault-internal default (OW-folder-export/) and add "Choose a folder..." that writes the conformant folder into any real OS directory -- point it at the Atlas root for a one-step handoff. - External sink uses node fs/promises + absolute paths (escapes the vault sandbox, verified); vault sink unchanged (vault API). - Serialization shared via planFiles(); only the sink differs. - Native picker reached by a guarded multi-path probe; falls back to a paste-absolute-path modal if no Electron dialog is reachable. - Desktop-only: external option hidden on mobile. - R3 safety: refuse if target exists or dest holds an open Atlas world (.atlas / lock). Pure refusal logic in export-plan.ts, unit-tested. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| CopyWorldCommand.ts | ||
| CreateCategoryFoldersCommand.ts | ||
| CreateCoreFilesCommand.ts | ||
| CreateElementCommand.ts | ||
| CreateHandlebarsCommand.ts | ||
| CreateReadmeCommand.ts | ||
| CreateSettingsCommand.ts | ||
| CreateTemplatesCommand.ts | ||
| CreateWorldCommand.ts | ||
| DeleteElementCommand.ts | ||
| DownloadWorldCommand.ts | ||
| export-plan.ts | ||
| ExportFolderCommand.ts | ||
| ExportWorldCommand.ts | ||
| ImportFolderCommand.ts | ||
| MigrateWorldCommand.ts | ||
| PasteWorldCommand.ts | ||
| RenameWorldCommand.ts | ||
| SaveElementCommand.ts | ||
| UpdateCategoryCountsCommand.ts | ||
| ValidateWorldCommand.ts | ||