summaryrefslogtreecommitdiffstats
path: root/src/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/index.ts')
-rw-r--r--src/index.ts2
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';
33import { ifUndefined } from './jsUtils'; 34import { 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 }