diff options
Diffstat (limited to 'src/index.ts')
-rw-r--r-- | src/index.ts | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/index.ts b/src/index.ts index a602c994e..286b305c2 100644 --- a/src/index.ts +++ b/src/index.ts | |||
@@ -702,8 +702,7 @@ ipcMain.on('toggle-pause-download', (_e, data) => { | |||
702 | 702 | ||
703 | // Quit when all windows are closed. | 703 | // Quit when all windows are closed. |
704 | app.on('window-all-closed', () => { | 704 | app.on('window-all-closed', () => { |
705 | // On OS X it is common for applications and their menu bar | 705 | // On macos it is common for applications and their menu bar to stay active until the user quits explicitly with Cmd + Q |
706 | // to stay active until the user quits explicitly with Cmd + Q | ||
707 | if ( | 706 | if ( |
708 | retrieveSettingValue( | 707 | retrieveSettingValue( |
709 | 'runInBackground', | 708 | 'runInBackground', |
@@ -746,8 +745,7 @@ app.on('before-quit', event => { | |||
746 | }); | 745 | }); |
747 | 746 | ||
748 | app.on('activate', () => { | 747 | app.on('activate', () => { |
749 | // On OS X it's common to re-create a window in the app when the | 748 | // On macos it's common to re-create a window in the app when the dock icon is clicked and there are no other windows open. |
750 | // dock icon is clicked and there are no other windows open. | ||
751 | if (mainWindow === null) { | 749 | if (mainWindow === null) { |
752 | createWindow(); | 750 | createWindow(); |
753 | } else { | 751 | } else { |