diff options
author | 0neGal <mail@0negal.com> | 2022-01-07 23:21:42 +0100 |
---|---|---|
committer | 0neGal <mail@0negal.com> | 2022-01-07 23:21:42 +0100 |
commit | 31bd305d88409e70d3fabc41026fef572099163e (patch) | |
tree | 5a58971e6f6fafd9078e975ca50e2be26de82d7b /src | |
parent | 47c9ea288b97e1c11baaadde7cc24d6704d8ea22 (diff) | |
download | Viper-31bd305d88409e70d3fabc41026fef572099163e.tar.gz Viper-31bd305d88409e70d3fabc41026fef572099163e.zip |
removed manual settings file write
Now using just saveSettings(), I think this line was overlooked when
implementing the saveSettings() function.
Diffstat (limited to 'src')
-rw-r--r-- | src/utils.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils.js b/src/utils.js index 872320e..225de47 100644 --- a/src/utils.js +++ b/src/utils.js @@ -55,7 +55,7 @@ function setpath(win) { }).catch(err => {console.error(err)}) } - fs.writeFileSync(app.getPath("appData") + "/viper.json", JSON.stringify(settings)); + saveSettings(); cli.exit(); } |