diff options
author | Danny Qiu <dqiu55@gmail.com> | 2017-12-28 07:36:31 -0500 |
---|---|---|
committer | Danny Qiu <dqiu55@gmail.com> | 2017-12-28 11:11:05 -0500 |
commit | 2fe42d52413de915760d4a089e110568724e36b6 (patch) | |
tree | 2ccd994453e70ba23a700922f58a9236418eaa05 /src | |
parent | Remove auto-update in development (diff) | |
download | ferdium-app-2fe42d52413de915760d4a089e110568724e36b6.tar.gz ferdium-app-2fe42d52413de915760d4a089e110568724e36b6.tar.zst ferdium-app-2fe42d52413de915760d4a089e110568724e36b6.zip |
Log event on second instnace of Franz
Diffstat (limited to 'src')
-rw-r--r-- | src/index.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/index.js b/src/index.js index a047e2bc1..f82bb3590 100644 --- a/src/index.js +++ b/src/index.js | |||
@@ -44,6 +44,7 @@ const isSecondInstance = app.makeSingleInstance((argv) => { | |||
44 | }); | 44 | }); |
45 | 45 | ||
46 | if (isSecondInstance) { | 46 | if (isSecondInstance) { |
47 | console.log('An instance of Franz is already running. Exiting...'); | ||
47 | app.exit(); | 48 | app.exit(); |
48 | } | 49 | } |
49 | 50 | ||