aboutsummaryrefslogtreecommitdiff
path: root/src-tauri/src/main.rs
diff options
context:
space:
mode:
authorGeckoEidechse <gecko.eidechse+git@pm.me>2022-09-01 00:57:14 +0200
committerGeckoEidechse <gecko.eidechse+git@pm.me>2022-09-01 00:57:14 +0200
commitc82336dfd2945680b4919dcbbc71ff3effd6809d (patch)
treed4a0bf8f656bf2d6006afc9bb5428a8c61607737 /src-tauri/src/main.rs
parent4dcf3a8d73d46b41220e7a5fb8be60be46ca9a49 (diff)
downloadFlightCore-c82336dfd2945680b4919dcbbc71ff3effd6809d.tar.gz
FlightCore-c82336dfd2945680b4919dcbbc71ff3effd6809d.zip
Add structure to implement Nortshtar update check
Actual logic is not implemented yet
Diffstat (limited to 'src-tauri/src/main.rs')
-rw-r--r--src-tauri/src/main.rs9
1 files changed, 8 insertions, 1 deletions
diff --git a/src-tauri/src/main.rs b/src-tauri/src/main.rs
index aa6b042e..e81be131 100644
--- a/src-tauri/src/main.rs
+++ b/src-tauri/src/main.rs
@@ -46,7 +46,8 @@ fn main() {
force_panic,
find_game_install_location_caller,
get_version_number,
- get_northstar_version_number_caller
+ get_northstar_version_number_caller,
+ check_is_northstar_outdated
])
.run(tauri::generate_context!())
.expect("error while running tauri application");
@@ -100,3 +101,9 @@ fn get_northstar_version_number_caller() -> String {
}
}
}
+
+#[tauri::command]
+fn check_is_northstar_outdated() -> bool {
+ // TODO implement check
+ false
+}