diff options
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..16e68b914 --- /dev/null +++ b/src/electron/deepLinking.js | |||
@@ -0,0 +1,5 @@ | |||
1 | export default function handleDeepLink(window, rawUrl) { | ||
2 | const url = rawUrl.replace('franz://', ''); | ||
3 | |||
4 | window.webContents.send('navigateFromDeepLink', { url }); | ||
5 | } | ||