summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--app/main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/main.js b/app/main.js
index c498e3bee4..987fa47463 100644
--- a/app/main.js
+++ b/app/main.js
@@ -61,7 +61,7 @@ const ApplicationMain = {
_overrideAppPaths() {
// This ensures that on Windows the %LOCALAPPDATA% directory is used instead of the %ADDDATA%
// directory that has roaming contents
- if (process.platform == 'win32') {
+ if (process.platform === 'win32') {
const appDataDir = process.env.LOCALAPPDATA;
if (appDataDir) {
app.setPath('appData', appDataDir);