diff options
author | GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> | 2022-11-27 21:29:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-27 21:29:38 +0100 |
commit | 13ff1b0a50fa94d4f35ee1868ef3874a619f4165 (patch) | |
tree | 72e76d437df02b5d223fb3ade27acc1ad5d9992e /src-tauri/src/main.rs | |
parent | 197ce5dc69dcb08a052492361f884d15d2dfd6a7 (diff) | |
download | FlightCore-13ff1b0a50fa94d4f35ee1868ef3874a619f4165.tar.gz FlightCore-13ff1b0a50fa94d4f35ee1868ef3874a619f4165.zip |
feat: Option to launch NS bypassing update check (#59)
* feat: Option to launch NS bypassing update check
Hidden behind dev view
* refactor: Use existing function to launch NS
Instead of duplicating code
* feat: Adjust button to allow bypassing all checks
Diffstat (limited to 'src-tauri/src/main.rs')
-rw-r--r-- | src-tauri/src/main.rs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src-tauri/src/main.rs b/src-tauri/src/main.rs index d775d978..8947d743 100644 --- a/src-tauri/src/main.rs +++ b/src-tauri/src/main.rs @@ -266,8 +266,11 @@ async fn update_northstar_caller( #[tauri::command] /// Launches Northstar -async fn launch_northstar_caller(game_install: GameInstall) -> Result<String, String> { - launch_northstar(game_install) +async fn launch_northstar_caller( + game_install: GameInstall, + bypass_checks: Option<bool>, +) -> Result<String, String> { + launch_northstar(game_install, bypass_checks) } #[tauri::command] |