aboutsummaryrefslogtreecommitdiff
path: root/src-vue/src/components
diff options
context:
space:
mode:
authorRémy Raes <contact@remyraes.com>2022-10-03 16:06:46 +0200
committerGitHub <noreply@github.com>2022-10-03 16:06:46 +0200
commit43d61ce21507d63c82c2252a164d314a18968359 (patch)
tree4b40eaf5a51767ab115cd93bbe77e986c89d0bea /src-vue/src/components
parent9690e5efe7c8a02c86bd68f32906c1b2f731897b (diff)
parentb09138a7f97559f2c59d240f882f16ec08d4934c (diff)
downloadFlightCore-43d61ce21507d63c82c2252a164d314a18968359.tar.gz
FlightCore-43d61ce21507d63c82c2252a164d314a18968359.zip
Merge pull request #5 from GeckoEidechse/null-out-gamepath
Start with empty gamepath and set button accordingly if no Titanfall2 install found
Diffstat (limited to 'src-vue/src/components')
-rw-r--r--src-vue/src/components/PlayButton.vue2
1 files changed, 2 insertions, 0 deletions
diff --git a/src-vue/src/components/PlayButton.vue b/src-vue/src/components/PlayButton.vue
index b5541abe..e2ee2bcc 100644
--- a/src-vue/src/components/PlayButton.vue
+++ b/src-vue/src/components/PlayButton.vue
@@ -12,6 +12,8 @@ export default defineComponent({
}
switch(this.$store.state.northstar_state) {
+ case NorthstarState.GAME_NOT_FOUND:
+ return "Titanfall2 not found";
case NorthstarState.INSTALL:
return "Install";
case NorthstarState.INSTALLING: