Skip to content

Commit 3d0a440

Browse files
committed
Fix an issue where during an update the app would still show
1 parent 25d59e8 commit 3d0a440

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ const path = require('path');
55
let mainWindow;
66
let tray = null;
77

8-
if (require('electron-squirrel-startup')) app.quit();
98

109
app.on('ready', () => {
1110
mainWindow = new MicaBrowserWindow({
@@ -31,6 +30,9 @@ app.on('ready', () => {
3130
symbolColor: 'rgba(255, 255, 255, 1)', // Symbol color
3231
height: 48
3332
});
33+
34+
if (require('electron-squirrel-startup')) app.quit();
35+
3436
mainWindow.setMinimumSize(1200, 700);
3537

3638
//Menu.setApplicationMenu(null);

0 commit comments

Comments
 (0)