mirror of
https://github.com/mnaoumov/obsidian-advanced-debug-mode.git
synced 2026-07-22 12:30:23 +00:00
CodeScript Toolkit runs the startup script via `startupScript.invoke(app)`, so a top-level script with no `invoke` export threw `this.startupScript.invoke is not a function` on vault open. Wrap the body in an exported `invoke(app)`. Also add an empty `Invocables/` folder so every demo vault has the same CodeScript Toolkit layout regardless of whether it ships invocable scripts. |
||
|---|---|---|
| .. | ||
| Invocables | ||
| startup.ts | ||