diff options
author | 2017-12-07 14:43:55 +0100 | |
---|---|---|
committer | 2017-12-07 14:43:55 +0100 | |
commit | 27c2d0d2b9383e785db1ee1497189d6674d9cdac (patch) | |
tree | 6ef46a8f1ffdd29d075a4ee26b50b1c16b0ea0de /src/index.js | |
parent | first working implementation of deep linking (diff) | |
download | ferdium-app-27c2d0d2b9383e785db1ee1497189d6674d9cdac.tar.gz ferdium-app-27c2d0d2b9383e785db1ee1497189d6674d9cdac.tar.zst ferdium-app-27c2d0d2b9383e785db1ee1497189d6674d9cdac.zip |
Convert url to string
Diffstat (limited to 'src/index.js')
-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 | }); |