From 0978a4efb200d540da2c1d6ef4b3a5b134494be2 Mon Sep 17 00:00:00 2001 From: Julian Gisser Date: Tue, 16 Aug 2016 16:34:04 +0200 Subject: [PATCH] beautify code --- src/main.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main.js b/src/main.js index 9379ef1b..03cbc490 100644 --- a/src/main.js +++ b/src/main.js @@ -129,12 +129,12 @@ const trayImages = function() { var willAppQuit = false; // If there is already an instance, activate the window in the existing instace and quit this one -if(app.makeSingleInstance((commandLine, workingDirectory) => { - // Someone tried to run a second instance, we should focus our window. - if (mainWindow) { - mainWindow.show() - } -})) { +if (app.makeSingleInstance((commandLine, workingDirectory) => { + // Someone tried to run a second instance, we should focus our window. + if (mainWindow) { + mainWindow.show() + } + })) { app.quit() }