Publisher pack

This commit is contained in:
TC
2026-06-14 18:34:43 +10:00
parent 32c57e02f1
commit 839f61cffe
7 changed files with 59 additions and 4 deletions

View File

@@ -95,6 +95,9 @@ contextBridge.exposeInMainWorld('api', {
openStoryBible: (): Promise<{ path: string; content: string }> =>
ipcRenderer.invoke('fs:openStoryBible'),
openPublisherPack: (): Promise<{ path: string; content: string }> =>
ipcRenderer.invoke('fs:openPublisherPack'),
writeStoryBible: (content: string): Promise<string> =>
ipcRenderer.invoke('fs:writeStoryBible', content),