1
1
mirror of https://github.com/Fabio286/antares.git synced 2025-06-05 21:59:22 +02:00

fix: main process not closed after window close on some conditions

This commit is contained in:
2022-06-07 09:33:03 +02:00
parent 1c666a07d8
commit 23acf00def

View File

@@ -76,7 +76,7 @@ else {
// quit application when all windows are closed
app.on('window-all-closed', () => {
// on macOS it is common for applications to stay open until the user explicitly quits
if (isMacOS) app.quit();
if (!isMacOS) app.quit();
});
app.on('activate', async () => {