From 6a0fe7b963a7934741d06416f5161e854505f36a Mon Sep 17 00:00:00 2001 From: 3top1a <3top1a.official@gmail.com> Date: Sat, 22 Jan 2022 17:02:53 +0100 Subject: Don't save settings twice --- src/utils.js | 1 - 1 file changed, 1 deletion(-) (limited to 'src') 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)}) -- cgit v1.2.3