diff --git a/src/components/window-behaviour.js b/src/components/window-behaviour.js index 778e67c1..82bfaa21 100644 --- a/src/components/window-behaviour.js +++ b/src/components/window-behaviour.js @@ -14,6 +14,10 @@ module.exports = { win.show(); }); + gui.App.on('open', function() { + win.show(); + }); + // Don't quit the app when the window is closed win.removeAllListeners('close'); win.on('close', function(quit) { diff --git a/src/package.json b/src/package.json index d62c4400..dfe773a9 100644 --- a/src/package.json +++ b/src/package.json @@ -4,6 +4,7 @@ "version": "1.4.3", "app-id": "com.aluxian.messengerfordesktop", "chromium-args": "--disable-setuid-sandbox", + "single-instance": true, "window": { "width": 800, "height": 600,