aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
author0neGal <mail@0negal.com>2022-01-22 23:48:51 +0100
committer0neGal <mail@0negal.com>2022-01-22 23:48:51 +0100
commita6dae7791e2f1a82e9f37e6a41961d77698c9a77 (patch)
tree1da366bbde2eb9fbde971be8f0b3654ba43a5e72 /src
parentbaeae1fa21bf097df164ca48a1bfc3cd58967ac0 (diff)
downloadViper-a6dae7791e2f1a82e9f37e6a41961d77698c9a77.tar.gz
Viper-a6dae7791e2f1a82e9f37e6a41961d77698c9a77.zip
fixed setGamepath(folder)
Diffstat (limited to 'src')
-rw-r--r--src/utils.js2
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);