diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/index.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/index.js b/src/index.js index ef36a0dc9..4253b681f 100644 --- a/src/index.js +++ b/src/index.js | |||
@@ -36,8 +36,10 @@ const isSecondInstance = app.makeSingleInstance((argv) => { | |||
36 | // Keep only command line / deep linked arguments | 36 | // Keep only command line / deep linked arguments |
37 | const url = argv.slice(1); | 37 | const url = argv.slice(1); |
38 | 38 | ||
39 | console.log(url); | 39 | if (url) { |
40 | handleDeepLink(mainWindow, url); | 40 | console.log(url.toString()); |
41 | handleDeepLink(mainWindow, url.toString()); | ||
42 | } | ||
41 | } | 43 | } |
42 | } | 44 | } |
43 | }); | 45 | }); |