From 874d79e76c55894f63bf1399ad50b5ff1ab506ad Mon Sep 17 00:00:00 2001 From: Juan Manuel Gonzalez Alama Date: Mon, 22 Apr 2019 13:06:01 -0300 Subject: [PATCH] Update main.js Code review. --- electron/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electron/main.js b/electron/main.js index 18a57087..7f07c8fb 100644 --- a/electron/main.js +++ b/electron/main.js @@ -58,7 +58,7 @@ if (config.get('enable_hidpi_support') && (process.platform === 'win32')) { app.commandLine.appendSwitch('force-device-scale-factor', '1') } -app.commandLine.appendSwitch('lang', config.get('locale') === 'en' ? 'en-US' : config.get('locale')) +app.commandLine.appendSwitch('lang', config.get('locale') === 'en' ? 'en-US' : config.get('locale')); // Because we build it using Squirrel, it will assign UserModelId automatically, so we match it here to display notifications correctly. // https://github.com/electron-userland/electron-builder/issues/362