aboutsummaryrefslogtreecommitdiffstats
path: root/src/electron/deepLinking.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/electron/deepLinking.ts')
-rw-r--r--src/electron/deepLinking.ts7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/electron/deepLinking.ts b/src/electron/deepLinking.ts
index 532bdd6fb..36de1b143 100644
--- a/src/electron/deepLinking.ts
+++ b/src/electron/deepLinking.ts
@@ -1,4 +1,9 @@
1export default function handleDeepLink(window, rawUrl) { 1import { BrowserWindow } from 'electron';
2
3export default function handleDeepLink(
4 window: BrowserWindow,
5 rawUrl: string,
6): void {
2 const url = rawUrl.replace('ferdium://', ''); 7 const url = rawUrl.replace('ferdium://', '');
3 8
4 if (!url) return; 9 if (!url) return;