diff options
author | Alystrasz <contact@remyraes.com> | 2022-09-26 18:40:15 +0200 |
---|---|---|
committer | Alystrasz <contact@remyraes.com> | 2022-09-26 18:40:15 +0200 |
commit | 7c2d1e8c64ff098cf9d953db0c764161055fc62d (patch) | |
tree | c7e9527d73ba86bac041d4a656b7cf25be7e7cc4 | |
parent | 13de634cff40efb0180ee0e440cefe9e1bcf2da1 (diff) | |
download | FlightCore-7c2d1e8c64ff098cf9d953db0c764161055fc62d.tar.gz FlightCore-7c2d1e8c64ff098cf9d953db0c764161055fc62d.zip |
refactor: rename northstar version method
-rw-r--r-- | src-vue/src/plugins/store.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src-vue/src/plugins/store.ts b/src-vue/src/plugins/store.ts index 0d5d8893..4bb48f66 100644 --- a/src-vue/src/plugins/store.ts +++ b/src-vue/src/plugins/store.ts @@ -47,7 +47,7 @@ async function _initializeApp(state: any) { state.game_path = result.game_path; // Check installed Northstar version if found - await _get_northstar_version_number_and_set_button_accordingly(state); + await _get_northstar_version_number(state); } // TODO @@ -76,7 +76,7 @@ function _initializeListeners(state: any) { * This retrieves Northstar version tag, and stores it in application * state, for it to be displayed in UI. */ -async function _get_northstar_version_number_and_set_button_accordingly(state: any) { +async function _get_northstar_version_number(state: any) { let northstar_version_number: string = await invoke("get_northstar_version_number_caller", { gamePath: state.game_path }); if (northstar_version_number && northstar_version_number.length > 0) { state.installed_northstar_version = northstar_version_number; |