aboutsummaryrefslogtreecommitdiff
path: root/src-tauri/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src-tauri/src/main.rs')
-rw-r--r--src-tauri/src/main.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src-tauri/src/main.rs b/src-tauri/src/main.rs
index b90eb8a2..aa6b042e 100644
--- a/src-tauri/src/main.rs
+++ b/src-tauri/src/main.rs
@@ -56,7 +56,7 @@ fn main() {
/// Wrapper for `find_game_install_location` as tauri doesn't allow passing `Result<>` types to front-end
fn find_game_install_location_caller() -> String {
match find_game_install_location() {
- Ok(path) => path,
+ Ok((path, install_type)) => path,
Err(err) => {
println!("{}", err);
"".to_string()
@@ -64,7 +64,6 @@ fn find_game_install_location_caller() -> String {
}
}
-
#[tauri::command]
fn hello_world() -> String {
"Hello World!!!".to_string()
@@ -101,4 +100,3 @@ fn get_northstar_version_number_caller() -> String {
}
}
}
-