aboutsummaryrefslogtreecommitdiff
path: root/src-tauri/src/constants.rs
diff options
context:
space:
mode:
authorGeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com>2023-05-15 21:50:40 +0200
committerGitHub <noreply@github.com>2023-05-15 21:50:40 +0200
commit225e7545e61b4df2c7404114ebba64246017b86e (patch)
treebcd775ceac4f19e06b480d2e75b7baa9b57a35b0 /src-tauri/src/constants.rs
parent5edffe63d3b6f503ad29da08f281ea88682f5f90 (diff)
downloadFlightCore-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/constants.rs')
-rw-r--r--src-tauri/src/constants.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src-tauri/src/constants.rs b/src-tauri/src/constants.rs
index 43df0eeb..4005a139 100644
--- a/src-tauri/src/constants.rs
+++ b/src-tauri/src/constants.rs
@@ -51,3 +51,7 @@ pub const FLIGHTCORE_REPO_NAME: &str = "R2NorthstarTools/FlightCore";
// Northstar release repo name and org name on GitHub
pub const NORTHSTAR_RELEASE_REPO_NAME: &str = "R2Northstar/Northstar";
+
+// URL to launcher commits API URL
+pub const NS_LAUNCHER_COMMITS_API_URL: &str =
+ "https://api.github.com/repos/R2Northstar/NorthstarLauncher/commits";