🐛 don't overwrite story bible with new suggestions

This commit is contained in:
2026-03-03 11:12:06 +10:00
parent cc00c40214
commit 4ab1dc74c9
7 changed files with 82 additions and 20 deletions

View File

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