aboutsummaryrefslogtreecommitdiffstats
path: root/src/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/index.js')
-rw-r--r--src/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index.js b/src/index.js
index 030736fee..361ad59db 100644
--- a/src/index.js
+++ b/src/index.js
@@ -32,7 +32,7 @@ if (isWindows) {
32if (process.platform !== 'darwin') { 32if (process.platform !== 'darwin') {
33 const isSecondInstance = app.makeSingleInstance(() => { 33 const isSecondInstance = app.makeSingleInstance(() => {
34 if (mainWindow) { 34 if (mainWindow) {
35 if (mainWindow.isMinimized()) mainWindow.restore(); 35 if (mainWindow.isMinimized()) mainWindow.show();
36 mainWindow.focus(); 36 mainWindow.focus();
37 } 37 }
38 }); 38 });