mirror of
https://github.com/vrcx-team/VRCX.git
synced 2026-04-06 00:32:02 +02:00
Fix error on electron close
This commit is contained in:
@@ -874,8 +874,6 @@ function disposeOverlay() {
|
||||
|
||||
app.on('before-quit', function () {
|
||||
disposeOverlay();
|
||||
|
||||
mainWindow.webContents.send('windowClosed');
|
||||
});
|
||||
|
||||
app.on('window-all-closed', function () {
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user