diff options
author | 2019-10-20 18:14:58 +0700 | |
---|---|---|
committer | 2019-10-20 18:14:58 +0700 | |
commit | f698e98aae2e256a1779a99e920a9eb38c0ca6bc (patch) | |
tree | 992f5af2b9e287fa2c5a06fbcf2d21cf1470fee7 | |
parent | #87 Try using LOCALAPPDATA for win32 portable version (diff) | |
download | ferdium-app-f698e98aae2e256a1779a99e920a9eb38c0ca6bc.tar.gz ferdium-app-f698e98aae2e256a1779a99e920a9eb38c0ca6bc.tar.zst ferdium-app-f698e98aae2e256a1779a99e920a9eb38c0ca6bc.zip |
Fix linter (=== instead of ==)
-rw-r--r-- | src/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index.js b/src/index.js index d13ab35a0..6b7790e2f 100644 --- a/src/index.js +++ b/src/index.js | |||
@@ -9,7 +9,7 @@ import fs from 'fs-extra'; | |||
9 | import path from 'path'; | 9 | import path from 'path'; |
10 | import windowStateKeeper from 'electron-window-state'; | 10 | import windowStateKeeper from 'electron-window-state'; |
11 | 11 | ||
12 | if (process.platform == "win32") { | 12 | if (process.platform === "win32") { |
13 | app.setPath("appData", process.env.LOCALAPPDATA); | 13 | app.setPath("appData", process.env.LOCALAPPDATA); |
14 | app.setPath("userData", path.join(process.env.LOCALAPPDATA, app.getName())); | 14 | app.setPath("userData", path.join(process.env.LOCALAPPDATA, app.getName())); |
15 | } | 15 | } |