aboutsummaryrefslogtreecommitdiff
path: root/src-vue/src/plugins/store.ts
diff options
context:
space:
mode:
authorGeckoEidechse <gecko.eidechse+git@pm.me>2023-10-13 02:52:43 +0200
committerGeckoEidechse <gecko.eidechse+git@pm.me>2023-10-13 02:52:43 +0200
commit1740f79673b4aad700fbd131e83bb7beab3b7a4e (patch)
tree8ce3dba4705559133d0cc4103e98440a42637792 /src-vue/src/plugins/store.ts
parent475ddbbede706624f6b332c06a035f2319a88f8e (diff)
downloadFlightCore-1740f79673b4aad700fbd131e83bb7beab3b7a4e.tar.gz
FlightCore-1740f79673b4aad700fbd131e83bb7beab3b7a4e.zip
refactor: Rename all occurences of `_caller`
to `_wrapper` To prepare for moving those functions to modules
Diffstat (limited to 'src-vue/src/plugins/store.ts')
-rw-r--r--src-vue/src/plugins/store.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src-vue/src/plugins/store.ts b/src-vue/src/plugins/store.ts
index f0e86613..854cd19e 100644
--- a/src-vue/src/plugins/store.ts
+++ b/src-vue/src/plugins/store.ts
@@ -189,7 +189,7 @@ export const store = createStore<FlightCoreStore>({
switch (state.northstar_state) {
// Install northstar if it wasn't detected.
case NorthstarState.INSTALL:
- let install_northstar_result = invoke("install_northstar_caller", { gameInstall: state.game_install, northstarPackageName: state.northstar_release_canal });
+ let install_northstar_result = invoke("install_northstar_wrapper", { gameInstall: state.game_install, northstarPackageName: state.northstar_release_canal });
state.northstar_state = NorthstarState.INSTALLING;
await install_northstar_result.then((message) => {
@@ -206,7 +206,7 @@ export const store = createStore<FlightCoreStore>({
// Update northstar if it is outdated.
case NorthstarState.MUST_UPDATE:
// Updating is the same as installing, simply overwrites the existing files
- let reinstall_northstar_result = invoke("install_northstar_caller", { gameInstall: state.game_install, northstarPackageName: state.northstar_release_canal });
+ let reinstall_northstar_result = invoke("install_northstar_wrapper", { gameInstall: state.game_install, northstarPackageName: state.northstar_release_canal });
state.northstar_state = NorthstarState.UPDATING;
await reinstall_northstar_result.then((message) => {