aboutsummaryrefslogtreecommitdiff
path: root/src-tauri/src/northstar/install.rs
diff options
context:
space:
mode:
authorGeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com>2023-05-15 22:29:44 +0200
committerGitHub <noreply@github.com>2023-05-15 22:29:44 +0200
commit554de62aaa269c334fda8d88848dffe7270f7eb7 (patch)
tree3b9dc38a7cb3e490df9329fc0173edf57de50637 /src-tauri/src/northstar/install.rs
parent225e7545e61b4df2c7404114ebba64246017b86e (diff)
downloadFlightCore-554de62aaa269c334fda8d88848dffe7270f7eb7.tar.gz
FlightCore-554de62aaa269c334fda8d88848dffe7270f7eb7.zip
refactor: Remove caller pattern (#356)
* refactor: Remove caller pattern for `launch_northstar` * refactor: Remove caller pattern for `check_is_flightcore_outdated` * refactor: Remove caller pattern for `get_host_os` * refactor: Remove caller pattern for `find_game_install_location` * refactor: Remove caller pattern for `launch_northstar_steam` * fix: Update function call names in frontend * refactor: Remove caller pattern for `get_northstar_version_number` * fix: Address clippy issues * refactor: Rename function to remove `_caller` suffix
Diffstat (limited to 'src-tauri/src/northstar/install.rs')
-rw-r--r--src-tauri/src/northstar/install.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src-tauri/src/northstar/install.rs b/src-tauri/src/northstar/install.rs
index c01148a1..235c35ff 100644
--- a/src-tauri/src/northstar/install.rs
+++ b/src-tauri/src/northstar/install.rs
@@ -148,6 +148,7 @@ pub async fn install_northstar(
}
/// Attempts to find the game install location
+#[tauri::command]
pub fn find_game_install_location() -> Result<GameInstall, String> {
// Attempt parsing Steam library directly
match steamlocate::SteamDir::locate() {