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.rs8
1 files changed, 1 insertions, 7 deletions
diff --git a/src-tauri/src/main.rs b/src-tauri/src/main.rs
index 6bb65a2c..3ad7a1ea 100644
--- a/src-tauri/src/main.rs
+++ b/src-tauri/src/main.rs
@@ -123,7 +123,7 @@ fn main() {
northstar::get_northstar_version_number,
check_is_northstar_outdated,
verify_install_location,
- get_host_os,
+ platform_specific::get_host_os,
install_northstar_caller,
update_northstar,
northstar::launch_northstar,
@@ -475,9 +475,3 @@ pub fn check_is_valid_game_path(game_install_path: &str) -> Result<(), String> {
}
Ok(())
}
-
-/// Returns identifier of host OS FlightCore is running on
-#[tauri::command]
-fn get_host_os() -> String {
- env::consts::OS.to_string()
-}