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
+8
View File
@@ -693,3 +693,11 @@ if (!ipcMain.eventNames().includes('open-item')) {
});
});
}
// Register 'open-application-directory' handler globally, ensuring it is only registered once
if (!ipcMain.eventNames().includes('open-application-directory')) {
ipcMain.handle('open-application-directory', async () => {
const userDataPath = app.getPath('userData');
shell.openPath(userDataPath);
});
}