add migration to clear all original store settings (#1396)

This commit is contained in:
jeffvli
2025-12-15 19:07:12 -08:00
parent 614761efd7
commit 96d2699a2d
5 changed files with 36 additions and 4 deletions
+5
View File
@@ -6,6 +6,10 @@ const openItem = async (path: string) => {
return ipcRenderer.invoke('open-item', path);
};
const openApplicationDirectory = async () => {
return ipcRenderer.invoke('open-application-directory');
};
const playerErrorListener = (cb: (event: IpcRendererEvent, data: { code: number }) => void) => {
ipcRenderer.on('player-error-listener', cb);
};
@@ -42,6 +46,7 @@ export const utils = {
isWindows,
logger,
mainMessageListener,
openApplicationDirectory,
openItem,
playerErrorListener,
};