diff options
author | Jan <sentrycraft123@gmail.com> | 2023-07-31 12:13:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-31 12:13:17 +0200 |
commit | 3563a0bc4748b7c14cbff2240af401fab9d4dc5d (patch) | |
tree | d1af032fefb06ba0e523e4643e6894d841a0410c /src-vue/src/views | |
parent | c73d4862c6a362f443c2db7d93b2cfaf51b42cff (diff) | |
download | FlightCore-3563a0bc4748b7c14cbff2240af401fab9d4dc5d.tar.gz FlightCore-3563a0bc4748b7c14cbff2240af401fab9d4dc5d.zip |
refactor: Migrate install related functions to `GameInstall` (#457)
This allows for later extending for installing in the appropriate profile
Diffstat (limited to 'src-vue/src/views')
-rw-r--r-- | src-vue/src/views/DeveloperView.vue | 2 | ||||
-rw-r--r-- | src-vue/src/views/RepairView.vue | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src-vue/src/views/DeveloperView.vue b/src-vue/src/views/DeveloperView.vue index ef878496..f60d47b1 100644 --- a/src-vue/src/views/DeveloperView.vue +++ b/src-vue/src/views/DeveloperView.vue @@ -303,7 +303,7 @@ export default defineComponent({ 0 ); - let install_northstar_result = invoke("install_northstar_caller", { gamePath: this.$store.state.game_install.game_path, northstarPackageName: this.selected_ns_version.value.package, versionNumber: this.selected_ns_version.value.version }); + let install_northstar_result = invoke("install_northstar_caller", { gameInstall: this.$store.state.game_install, northstarPackageName: this.selected_ns_version.value.package, versionNumber: this.selected_ns_version.value.version }); await install_northstar_result .then((message) => { diff --git a/src-vue/src/views/RepairView.vue b/src-vue/src/views/RepairView.vue index 614c1e56..65c533d2 100644 --- a/src-vue/src/views/RepairView.vue +++ b/src-vue/src/views/RepairView.vue @@ -71,7 +71,7 @@ export default defineComponent({ 0 ); - let install_northstar_result = invoke("install_northstar_caller", { gamePath: this.$store.state.game_install.game_path, northstarPackageName: ReleaseCanal.RELEASE }); + let install_northstar_result = invoke("install_northstar_caller", { gameInstall: this.$store.state.game_install, northstarPackageName: ReleaseCanal.RELEASE }); appWindow.listen<InstallProgress>( 'northstar-install-download-progress', |