diff options
author | Markus Hatvan <markus_hatvan@aon.at> | 2021-10-14 01:27:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-14 04:57:04 +0530 |
commit | a8ea8bf015c8d1da709592de6ad045423a87bdb7 (patch) | |
tree | 12b08d5a7f067bb95bd564ad8024baf5161fd5a8 /src | |
parent | 5.6.3-nightly.32 [skip ci] (diff) | |
download | ferdium-app-a8ea8bf015c8d1da709592de6ad045423a87bdb7.tar.gz ferdium-app-a8ea8bf015c8d1da709592de6ad045423a87bdb7.tar.zst ferdium-app-a8ea8bf015c8d1da709592de6ad045423a87bdb7.zip |
fix: snap ferdi prompt by including the process path for the permission requested (#2063)
Diffstat (limited to 'src')
-rw-r--r-- | src/index.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/index.ts b/src/index.ts index 7beaa86f6..248c6d110 100644 --- a/src/index.ts +++ b/src/index.ts | |||
@@ -448,8 +448,8 @@ app.on('ready', () => { | |||
448 | 448 | ||
449 | // Register App URL | 449 | // Register App URL |
450 | const protocolClient = isDevMode ? 'ferdi-dev' : 'ferdi'; | 450 | const protocolClient = isDevMode ? 'ferdi-dev' : 'ferdi'; |
451 | if (!app.isDefaultProtocolClient(protocolClient)) { | 451 | if (!app.isDefaultProtocolClient(protocolClient, process.execPath)) { |
452 | app.setAsDefaultProtocolClient(protocolClient); | 452 | app.setAsDefaultProtocolClient(protocolClient, process.execPath); |
453 | } | 453 | } |
454 | 454 | ||
455 | if (isWindows) { | 455 | if (isWindows) { |