Fix error on electron close

This commit is contained in:
Natsumi
2025-08-17 16:45:11 +12:00
parent c72688d722
commit a2048941e2
2 changed files with 0 additions and 6 deletions

View File

@@ -874,8 +874,6 @@ function disposeOverlay() {
app.on('before-quit', function () {
disposeOverlay();
mainWindow.webContents.send('windowClosed');
});
app.on('window-all-closed', function () {

View File

@@ -86,10 +86,6 @@ export const useVrcxStore = defineStore('Vrcx', () => {
state.windowState = newState.windowState;
debounce(saveVRCXWindowOption, 300)();
});
// window.electron.onWindowClosed((event) => {
// window.$app.saveVRCXWindowOption();
// });
}
state.databaseVersion = await configRepository.getInt(