From a6dae7791e2f1a82e9f37e6a41961d77698c9a77 Mon Sep 17 00:00:00 2001 From: 0neGal Date: Sat, 22 Jan 2022 23:48:51 +0100 Subject: fixed setGamepath(folder) --- src/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.js b/src/utils.js index 93326d5..cf74a59 100644 --- a/src/utils.js +++ b/src/utils.js @@ -121,7 +121,7 @@ async function setpath(win) { settings.gamepath = cli.param("setpath"); } else { // GUI function setGamepath(folder) { - settings.gamepath = folder + "/steamapps/common/Titanfall2/"; + settings.gamepath = folder; settings.zip = path.join(settings.gamepath + "/northstar.zip"); saveSettings(); win.webContents.send("newpath", settings.gamepath); -- cgit v1.2.3