diff options
author | 2017-11-02 23:10:34 +0100 | |
---|---|---|
committer | 2017-11-02 23:10:34 +0100 | |
commit | 11a23cfc46b801aedce7d389beaec3997cdf5a73 (patch) | |
tree | cbdd91b86622f348ca9085d66c2de96830900f21 /src/index.js | |
parent | Merge pull request #181 from meetfranz/feature/recipe-notification-api (diff) | |
download | ferdium-app-11a23cfc46b801aedce7d389beaec3997cdf5a73.tar.gz ferdium-app-11a23cfc46b801aedce7d389beaec3997cdf5a73.tar.zst ferdium-app-11a23cfc46b801aedce7d389beaec3997cdf5a73.zip |
Test window.show instead of restore
Diffstat (limited to 'src/index.js')
-rw-r--r-- | src/index.js | 2 |
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) { | |||
32 | if (process.platform !== 'darwin') { | 32 | if (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 | }); |