aboutsummaryrefslogtreecommitdiff
path: root/src/utils.js
diff options
context:
space:
mode:
author0neGal <mail@0negal.com>2022-01-07 23:21:42 +0100
committer0neGal <mail@0negal.com>2022-01-07 23:21:42 +0100
commit31bd305d88409e70d3fabc41026fef572099163e (patch)
tree5a58971e6f6fafd9078e975ca50e2be26de82d7b /src/utils.js
parent47c9ea288b97e1c11baaadde7cc24d6704d8ea22 (diff)
downloadViper-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/utils.js')
-rw-r--r--src/utils.js2
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();
}