aboutsummaryrefslogtreecommitdiff
path: root/src-tauri/src/github
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/github
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/github')
-rw-r--r--src-tauri/src/github/release_notes.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src-tauri/src/github/release_notes.rs b/src-tauri/src/github/release_notes.rs
index 4ff075bd..ea432af0 100644
--- a/src-tauri/src/github/release_notes.rs
+++ b/src-tauri/src/github/release_notes.rs
@@ -54,6 +54,7 @@ pub async fn get_newest_flightcore_version() -> Result<FlightCoreVersion, String
/// Checks if installed FlightCore version is up-to-date
/// false -> FlightCore install is up-to-date
/// true -> FlightCore install is outdated
+#[tauri::command]
pub async fn check_is_flightcore_outdated() -> Result<bool, String> {
let newest_flightcore_release = get_newest_flightcore_version().await?;