aboutsummaryrefslogtreecommitdiff
path: root/src/app/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/main.js')
-rw-r--r--src/app/main.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/app/main.js b/src/app/main.js
index a781ef1..1688ab2 100644
--- a/src/app/main.js
+++ b/src/app/main.js
@@ -33,6 +33,11 @@ if (fs.existsSync("viper.json")) {
} else {
setpath(true);
}
+
+ let args = path.join(settings.gamepath, "ns_startup_args.txt");
+ if (fs.existsSync(args)) {
+ settings.nsargs = fs.readFileSync(args, "utf8");
+ }
} else {
setpath();
}