Skip to content

Commit

Permalink
fix(scripts): The IC CDN does not have openssl-static-binaries anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
sasa-tomic committed Jan 4, 2024
1 parent 9d332f5 commit 42e6e60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rs/cli/src/ic_admin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -643,9 +643,9 @@ async fn download_ic_admin(version: Option<String>) -> Result<String> {

if !path.exists() {
let url = if std::env::consts::OS == "macos" {
format!("https://download.dfinity.systems/ic/{version}/openssl-static-binaries/x86_64-darwin/ic-admin.gz")
format!("https://download.dfinity.systems/ic/{version}/binaries/x86_64-darwin/ic-admin.gz")
} else {
format!("https://download.dfinity.systems/ic/{version}/openssl-static-binaries/x86_64-linux/ic-admin.gz")
format!("https://download.dfinity.systems/ic/{version}/binaries/x86_64-linux/ic-admin.gz")
};
info!("Downloading ic-admin version: {} from {}", version, url);
let body = reqwest::get(url).await?.bytes().await?;
Expand Down

0 comments on commit 42e6e60

Please sign in to comment.