From c82336dfd2945680b4919dcbbc71ff3effd6809d Mon Sep 17 00:00:00 2001 From: GeckoEidechse Date: Thu, 1 Sep 2022 00:57:14 +0200 Subject: Add structure to implement Nortshtar update check Actual logic is not implemented yet --- src-tauri/src/main.rs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src-tauri/src') 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 +} -- cgit v1.2.3