From 262485677ed2bad1e30f59c8ba5dfeadf4611b04 Mon Sep 17 00:00:00 2001 From: GeckoEidechse Date: Tue, 13 Feb 2024 22:22:55 +0100 Subject: wip: Update dev UI for launch options --- src-vue/src/views/DeveloperView.vue | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/src-vue/src/views/DeveloperView.vue b/src-vue/src/views/DeveloperView.vue index f3847d36..d44eb6fb 100644 --- a/src-vue/src/views/DeveloperView.vue +++ b/src-vue/src/views/DeveloperView.vue @@ -35,14 +35,15 @@

Testing:

- - Launch Northstar (bypass all checks) - + + - - Launch Northstar via Steam + + Launch Northstar with options +
+ Install launcher from main branch @@ -168,6 +169,8 @@ export default defineComponent({ discord_release_announcement_text: "", first_tag: { label: '', value: { name: '' } }, second_tag: { label: '', value: { name: '' } }, + launchNorthstarBypassChecks: true, + launchNorthstarViaSteam: false, ns_release_tags: [] as TagWrapper[], ns_versions: [] as NorthstarThunderstoreReleaseWrapper[], selected_ns_version: { label: '', value: { package: '', version: '' } } as NorthstarThunderstoreReleaseWrapper, @@ -220,6 +223,11 @@ export default defineComponent({ console.error(error); }); }, + async launchNorthstarWithOptions() { + let launch_options: NorthstarLaunchOptions = { bypass_checks: this.launchNorthstarBypassChecks, launch_via_steam: this.launchNorthstarViaSteam }; + this.$store.commit('launchGame', launch_options); + }, + // todo, remove the two below async launchGameWithoutChecks() { let launch_options: NorthstarLaunchOptions = { bypass_checks: true, launch_via_steam: false }; this.$store.commit('launchGame', launch_options); -- cgit v1.2.3