diff options
author | Stefan Malzner <stefan@adlk.io> | 2017-12-05 16:04:27 +0100 |
---|---|---|
committer | Stefan Malzner <stefan@adlk.io> | 2017-12-05 16:04:27 +0100 |
commit | 49cdd35696dcbe2a90c63dccc2d88db46e2aa8a9 (patch) | |
tree | c9e20ff61d332c759522d2227d90cd56fabc8008 /src/electron/deepLinking.js | |
parent | Merge pull request #400 from meetfranz/feature/delete-account (diff) | |
download | ferdium-app-49cdd35696dcbe2a90c63dccc2d88db46e2aa8a9.tar.gz ferdium-app-49cdd35696dcbe2a90c63dccc2d88db46e2aa8a9.tar.zst ferdium-app-49cdd35696dcbe2a90c63dccc2d88db46e2aa8a9.zip |
WIP: add deep linking
Diffstat (limited to 'src/electron/deepLinking.js')
-rw-r--r-- | src/electron/deepLinking.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/electron/deepLinking.js b/src/electron/deepLinking.js new file mode 100644 index 000000000..819fdd095 --- /dev/null +++ b/src/electron/deepLinking.js | |||
@@ -0,0 +1,5 @@ | |||
1 | export default function handleDeepLink(window, url) { | ||
2 | console.log(url); | ||
3 | |||
4 | window.webContents.send('navigateFromDeepLink', { url }); | ||
5 | } | ||