aboutsummaryrefslogtreecommitdiffstats
path: root/src/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/index.js')
-rw-r--r--src/index.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/index.js b/src/index.js
index 3264fdc63..9146a23da 100644
--- a/src/index.js
+++ b/src/index.js
@@ -190,6 +190,7 @@ const createWindow = () => {
190 show: false, 190 show: false,
191 titleBarStyle: isMac ? 'hidden' : '', 191 titleBarStyle: isMac ? 'hidden' : '',
192 frame: isLinux, 192 frame: isLinux,
193 spellcheck: settings.get('enableSpellchecking'),
193 backgroundColor, 194 backgroundColor,
194 webPreferences: { 195 webPreferences: {
195 nodeIntegration: true, 196 nodeIntegration: true,
@@ -391,10 +392,10 @@ app.on('ready', () => {
391 enforceMacOSAppLocation(); 392 enforceMacOSAppLocation();
392 393
393 // Register App URL 394 // Register App URL
394 app.setAsDefaultProtocolClient('ferdi');
395
396 if (isDevMode) { 395 if (isDevMode) {
397 app.setAsDefaultProtocolClient('ferdi-dev'); 396 app.setAsDefaultProtocolClient('ferdi-dev');
397 } else {
398 app.setAsDefaultProtocolClient('ferdi');
398 } 399 }
399 400
400 if (isWindows) { 401 if (isWindows) {