From 14279b484ee8acbe440e09be25c36f8527592e75 Mon Sep 17 00:00:00 2001 From: 0neGal Date: Wed, 13 Sep 2023 17:07:49 +0200 Subject: fixed gamepath only updating for the renderer This would mean if the gamepath cant be found automatically you'll be asked to set your gamepath every time Viper starts, instead of it remembering it, and if it can find it automatically, then you'd never have known this was a problem (hence why this was even a problem) --- src/app/main.js | 1 + 1 file changed, 1 insertion(+) (limited to 'src/app') diff --git a/src/app/main.js b/src/app/main.js index 4eae3ec..8775004 100644 --- a/src/app/main.js +++ b/src/app/main.js @@ -223,6 +223,7 @@ function isModInstalled(modname) { ipcRenderer.on("newpath", (event, newpath) => { settings.gamepath = newpath; ipcRenderer.send("gui-getmods"); + ipcRenderer.send("save-settings", settings); }) // Continuation of log() -- cgit v1.2.3