Skip to content

Commit

Permalink
fix install-binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
HJfod committed Aug 4, 2023
1 parent e1bc7c1 commit a691489
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
10 changes: 5 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "geode"
version = "2.4.2"
version = "2.4.3"
authors = ["HJfod <[email protected]>", "Camila314 <[email protected]>"]
edition = "2021"
build = "build.rs"
Expand Down
5 changes: 5 additions & 0 deletions src/sdk.rs
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,11 @@ fn install_binaries(config: &mut Config) {

let mut target_url: Option<String> = None;
for asset in res.assets {
// skip installers
if asset.name.to_lowercase().contains("installer") {
continue;
}

#[cfg(any(target_os = "windows", target_os = "linux"))]
if asset.name.to_lowercase().contains("win") {
target_url = Some(asset.browser_download_url);
Expand Down

0 comments on commit a691489

Please sign in to comment.