diff options
author | GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> | 2023-05-15 21:50:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-15 21:50:40 +0200 |
commit | 225e7545e61b4df2c7404114ebba64246017b86e (patch) | |
tree | bcd775ceac4f19e06b480d2e75b7baa9b57a35b0 /src-tauri/src/main.rs | |
parent | 5edffe63d3b6f503ad29da08f281ea88682f5f90 (diff) | |
download | FlightCore-225e7545e61b4df2c7404114ebba64246017b86e.tar.gz FlightCore-225e7545e61b4df2c7404114ebba64246017b86e.zip |
feat: Button to install NorthstarLauncher from git main branch (#314)
* feat: WIP code to install launcher from git main
Works but needs some more cleanup still
* fix: Formatting
* fix: Address clippy errors
* refactor: Move `install_git_main` to own source
file
* fix: Remove unnecessary `pub`
* docs: Update comments
* refactor: Move API URL to constants
Diffstat (limited to 'src-tauri/src/main.rs')
-rw-r--r-- | src-tauri/src/main.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src-tauri/src/main.rs b/src-tauri/src/main.rs index 87f70ae2..9a93d636 100644 --- a/src-tauri/src/main.rs +++ b/src-tauri/src/main.rs @@ -16,6 +16,8 @@ use winapi::um::winuser::{MessageBoxW, MB_ICONERROR, MB_OK, MB_USERICON}; use crate::constants::REFRESH_DELAY; +mod development; + mod github; use github::release_notes::check_is_flightcore_outdated; @@ -159,6 +161,7 @@ fn main() { github::pull_requests::apply_mods_pr, github::pull_requests::get_launcher_download_link, close_application, + development::install_git_main, get_available_northstar_versions, ]) .run(tauri::generate_context!()) |