diff options
author | 3top1a <3top1a.official@gmail.com> | 2022-01-22 17:02:53 +0100 |
---|---|---|
committer | 3top1a <3top1a.official@gmail.com> | 2022-01-22 17:02:53 +0100 |
commit | 6a0fe7b963a7934741d06416f5161e854505f36a (patch) | |
tree | 34b171f41b5047cae2d741fd78300ef737764a87 | |
parent | fb67402f17d52646cbb1b3dc98a0a8720fdb4341 (diff) | |
download | Viper-6a0fe7b963a7934741d06416f5161e854505f36a.tar.gz Viper-6a0fe7b963a7934741d06416f5161e854505f36a.zip |
Don't save settings twice
-rw-r--r-- | src/utils.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/utils.js b/src/utils.js index 11f7dcb..86ea5ae 100644 --- a/src/utils.js +++ b/src/utils.js @@ -199,7 +199,6 @@ function setpath(win) { win.webContents.send("newpath", settings.gamepath); ipcMain.emit("newpath", null, settings.gamepath); - saveSettings(); cli.exit(); return; }).catch(err => {console.error(err)}) |