aboutsummaryrefslogtreecommitdiff
path: root/src-tauri/src/github/mod.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/github/mod.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/github/mod.rs')
-rw-r--r--src-tauri/src/github/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src-tauri/src/github/mod.rs b/src-tauri/src/github/mod.rs
index a4e390d3..0eab305b 100644
--- a/src-tauri/src/github/mod.rs
+++ b/src-tauri/src/github/mod.rs
@@ -31,8 +31,8 @@ pub struct TagWrapper {
}
#[derive(Debug, Deserialize)]
-struct CommitInfo {
- sha: String,
+pub struct CommitInfo {
+ pub sha: String,
commit: Commit,
author: Option<CommitAuthor>,
}