Skip to content

DesktopCdpTransportConfig.configDirectory?

DesktopCdpTransportConfig › configDirectory?

Type: string

The vault's config folder override (Obsidian's *Override config folder*), e.g. '.obsidian-desktop'. When set, the owned instance boots to the starter screen, writes <vaultId>-config into that renderer's localStorage, and only then opens the vault over the vault-open IPC — the override is read once, during the vault renderer's own setup, so it has to exist before that window is created. The opened vault's actual app.vault.configDir is then read back, and a mismatch throws ConfigDirectoryFallbackError. Only meaningful in owned mode.