diff options
Diffstat (limited to 'src/app')
-rw-r--r-- | src/app/icons/linux.png | bin | 0 -> 6465 bytes | |||
-rw-r--r-- | src/app/index.html | 47 | ||||
-rw-r--r-- | src/app/main.js | 8 |
3 files changed, 55 insertions, 0 deletions
diff --git a/src/app/icons/linux.png b/src/app/icons/linux.png Binary files differnew file mode 100644 index 0000000..29460ce --- /dev/null +++ b/src/app/icons/linux.png 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 @@ </div> </div> </details> + <details open platform="linux"> + <summary> + <div class="title"> + <img src="icons/linux.png"> + <h2>%%gui.settings.title.linux%%</h2> + </div> + </summary> + <div class="option" name="linux_launch_method"> + <div class="text"> + %%gui.settings.linux_launch_method.title%% + <div class="desc"> + %%gui.settings.linux_launch_method.desc%% + </div> + </div> + <div class="actions"> + <select> + <option value="steam_auto">%%gui.settings.linux_launch_method.methods.steam_auto%%</option> + <option value="steam_executable">%%gui.settings.linux_launch_method.methods.steam_executable%%</option> + <option value="steam_flatpak">%%gui.settings.linux_launch_method.methods.steam_flatpak%%</option> + <option value="steam_protocol">%%gui.settings.linux_launch_method.methods.steam_protocol%%</option> + <option value="custom_command">%%gui.settings.linux_launch_method.methods.command%%</option> + </select> + </div> + </div> + <div class="option" name="linux_launch_cmd_ns"> + <div class="text"> + %%gui.settings.linux_launch_cmd_ns.title%% + <div class="desc"> + %%gui.settings.linux_launch_cmd_ns.desc%% + </div> + </div> + <div class="actions"> + <input> + </div> + </div> + <div class="option" name="linux_launch_cmd_vanilla"> + <div class="text"> + %%gui.settings.linux_launch_cmd_vanilla.title%% + <div class="desc"> + %%gui.settings.linux_launch_cmd_vanilla.desc%% + </div> + </div> + <div class="actions"> + <input> + </div> + </div> + </details> <details open> <summary> 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" |