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:
parent
d2e59f4119
commit
75e0fa7b3d
1 changed files with 2 additions and 0 deletions
|
@ -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');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue