diff options
author | 0neGal <mail@0negal.com> | 2022-01-22 23:48:51 +0100 |
---|---|---|
committer | 0neGal <mail@0negal.com> | 2022-01-22 23:48:51 +0100 |
commit | a6dae7791e2f1a82e9f37e6a41961d77698c9a77 (patch) | |
tree | 1da366bbde2eb9fbde971be8f0b3654ba43a5e72 | |
parent | baeae1fa21bf097df164ca48a1bfc3cd58967ac0 (diff) | |
download | Viper-a6dae7791e2f1a82e9f37e6a41961d77698c9a77.tar.gz Viper-a6dae7791e2f1a82e9f37e6a41961d77698c9a77.zip |
fixed setGamepath(folder)
-rw-r--r-- | src/utils.js | 2 |
1 files changed, 1 insertions, 1 deletions
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); |