From 9b31e6dfc2277dc2b904b4319b9bc06f849c38dc Mon Sep 17 00:00:00 2001 From: 0neGal Date: Mon, 29 Apr 2024 18:01:07 +0200 Subject: added launch method settings --- src/app/icons/linux.png | Bin 0 -> 6465 bytes src/app/index.html | 47 +++++++++++++++++++++++++++++++++++++++++++++++ src/app/main.js | 8 ++++++++ 3 files changed, 55 insertions(+) create mode 100644 src/app/icons/linux.png (limited to 'src/app') diff --git a/src/app/icons/linux.png b/src/app/icons/linux.png new file mode 100644 index 0000000..29460ce Binary files /dev/null and b/src/app/icons/linux.png differ diff --git a/src/app/index.html b/src/app/index.html index 016b708..c6001f4 100644 --- a/src/app/index.html +++ b/src/app/index.html @@ -63,6 +63,53 @@ +
+ +
+ +

%%gui.settings.title.linux%%

+
+
+
+
+ %%gui.settings.linux_launch_method.title%% +
+ %%gui.settings.linux_launch_method.desc%% +
+
+
+ +
+
+
+
+ %%gui.settings.linux_launch_cmd_ns.title%% +
+ %%gui.settings.linux_launch_cmd_ns.desc%% +
+
+
+ +
+
+
+
+ %%gui.settings.linux_launch_cmd_vanilla.title%% +
+ %%gui.settings.linux_launch_cmd_vanilla.desc%% +
+
+
+ +
+
+
diff --git a/src/app/main.js b/src/app/main.js index c3f89d2..f4c1624 100644 --- a/src/app/main.js +++ b/src/app/main.js @@ -15,6 +15,9 @@ var modsobj = { let shouldInstallNorthstar = false; // Base settings +// +// TODO: dont duplicate this, instead just use the one in +// `src/modules/settings.js` automatically var settings = { nsargs: "", gamepath: "", @@ -25,6 +28,11 @@ var settings = { originkill: false, zip: "/northstar.zip", lang: navigator.language, + + linux_launch_cmd_ns: "", + linux_launch_cmd_vanilla: "", + linux_launch_method: "steam_auto", + excludes: [ "ns_startup_args.txt", "ns_startup_args_dedi.txt" -- cgit v1.2.3