diff options
Diffstat (limited to 'src-vue/src/plugins/store.ts')
-rw-r--r-- | src-vue/src/plugins/store.ts | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src-vue/src/plugins/store.ts b/src-vue/src/plugins/store.ts index 544d314a..5087221b 100644 --- a/src-vue/src/plugins/store.ts +++ b/src-vue/src/plugins/store.ts @@ -28,11 +28,11 @@ export const store = createStore({ return { current_tab: Tabs.PLAY, developer_mode: false, - game_path: "this/is/the/game/path", + game_path: undefined, install_type: undefined, installed_northstar_version: "", - northstar_state: NorthstarState.INSTALL, + northstar_state: NorthstarState.GAME_NOT_FOUND, release_canal: ReleaseCanal.RELEASE, northstar_is_running: false, @@ -190,4 +190,7 @@ async function _get_northstar_version_number(state: any) { alert(error); }); } + else { + state.northstar_state = NorthstarState.INSTALL; + } } |