diff options
author | André Oliveira <37463445+SpecialAro@users.noreply.github.com> | 2023-09-04 00:02:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-04 00:02:22 +0100 |
commit | 970738c953865b7346f5f85c576be2af2cdd7f2c (patch) | |
tree | 9a05d25a6d0128b8197f0f38a2a013d1d842cebc /src/index.ts | |
parent | Upgrade npm modules (#1343) (diff) | |
download | ferdium-app-970738c953865b7346f5f85c576be2af2cdd7f2c.tar.gz ferdium-app-970738c953865b7346f5f85c576be2af2cdd7f2c.tar.zst ferdium-app-970738c953865b7346f5f85c576be2af2cdd7f2c.zip |
feat: add deeplink to service (#1344)
add deeplink to service
Diffstat (limited to 'src/index.ts')
-rw-r--r-- | src/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index.ts b/src/index.ts index 5accc4570..c765bac73 100644 --- a/src/index.ts +++ b/src/index.ts | |||
@@ -29,6 +29,7 @@ import { | |||
29 | isDevMode, | 29 | isDevMode, |
30 | userDataRecipesPath, | 30 | userDataRecipesPath, |
31 | userDataPath, | 31 | userDataPath, |
32 | protocolClient, | ||
32 | } from './environment-remote'; | 33 | } from './environment-remote'; |
33 | import { ifUndefined } from './jsUtils'; | 34 | import { ifUndefined } from './jsUtils'; |
34 | 35 | ||
@@ -469,7 +470,6 @@ app.on('ready', () => { | |||
469 | enforceMacOSAppLocation(); | 470 | enforceMacOSAppLocation(); |
470 | 471 | ||
471 | // Register App URL | 472 | // Register App URL |
472 | const protocolClient = isDevMode ? 'ferdium-dev' : 'ferdium'; | ||
473 | if (!app.isDefaultProtocolClient(protocolClient, process.execPath)) { | 473 | if (!app.isDefaultProtocolClient(protocolClient, process.execPath)) { |
474 | app.setAsDefaultProtocolClient(protocolClient, process.execPath); | 474 | app.setAsDefaultProtocolClient(protocolClient, process.execPath); |
475 | } | 475 | } |