diff options
Diffstat (limited to 'src/electron/deepLinking.ts')
-rw-r--r-- | src/electron/deepLinking.ts | 7 |
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 @@ | |||
1 | export default function handleDeepLink(window, rawUrl) { | 1 | import { BrowserWindow } from 'electron'; |
2 | |||
3 | export 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; |