1
0
Fork 0
mirror of https://github.com/anyproto/anytype-ts.git synced 2025-06-08 05:57:02 +09:00

prevent exiting on linux when all windows are closed

This commit is contained in:
Andrew Simachev 2022-08-12 20:34:13 +03:00
parent d2e59f4119
commit 75e0fa7b3d

View file

@ -175,6 +175,7 @@ app.on('second-instance', (event, argv, cwd) => {
};
});
/*
app.on('window-all-closed', (e) => {
Util.log('info', 'window-all-closed');
@ -183,6 +184,7 @@ app.on('window-all-closed', (e) => {
Api.exit(mainWindow, false);
};
});
*/
app.on('before-quit', (e) => {
Util.log('info', 'before-quit');