aboutsummaryrefslogtreecommitdiff
path: root/src-vue/src/views/DeveloperView.vue
diff options
context:
space:
mode:
authorGeckoEidechse <gecko.eidechse+git@pm.me>2024-01-19 15:11:02 +0100
committerGeckoEidechse <gecko.eidechse+git@pm.me>2024-01-19 15:25:22 +0100
commitb00fbee7bd147f825e35a3de4c0b9aeedadac493 (patch)
tree06bb70658865f1d73887f1eebead2b30b87c70b8 /src-vue/src/views/DeveloperView.vue
parenta6abfbbe553f2df30811803d16a7554b51efd3ae (diff)
downloadFlightCore-b00fbee7bd147f825e35a3de4c0b9aeedadac493.tar.gz
FlightCore-b00fbee7bd147f825e35a3de4c0b9aeedadac493.zip
refactor: Pass launch options via object
Currently object only has a single member for bypassing all checks. In the future this would be split up into multiple members for different checks to bypass as well as other options.
Diffstat (limited to 'src-vue/src/views/DeveloperView.vue')
-rw-r--r--src-vue/src/views/DeveloperView.vue4
1 files changed, 3 insertions, 1 deletions
diff --git a/src-vue/src/views/DeveloperView.vue b/src-vue/src/views/DeveloperView.vue
index aa586e6e..5e835b3e 100644
--- a/src-vue/src/views/DeveloperView.vue
+++ b/src-vue/src/views/DeveloperView.vue
@@ -136,6 +136,7 @@
<script lang="ts">
import { defineComponent } from "vue";
import { invoke } from "@tauri-apps/api";
+import { LaunchOptions } from "../utils/LaunchOptions";
import { TagWrapper } from "../../../src-tauri/bindings/TagWrapper";
import { NorthstarThunderstoreReleaseWrapper } from "../../../src-tauri/bindings/NorthstarThunderstoreReleaseWrapper";
import PullRequestsSelector from "../components/PullRequestsSelector.vue";
@@ -206,7 +207,8 @@ export default defineComponent({
});
},
async launchGameWithoutChecks() {
- this.$store.commit('launchGame', true);
+ let launch_options: LaunchOptions = { no_checks: true };
+ this.$store.commit('launchGame', launch_options);
},
async launchGameViaSteam() {
this.$store.commit('launchGameSteam', true);