diff --git a/CHANGELOG.md b/CHANGELOG.md index 357f18c..182063a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # dsm +## 1.0.2 + +### Patch Changes + +- aa9d43b: use macos for platform name in url schemes + ## 1.0.1 ### Patch Changes diff --git a/Cargo.lock b/Cargo.lock index 95a222e..122e743 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -342,7 +342,7 @@ dependencies = [ [[package]] name = "dsm" -version = "1.0.1" +version = "1.0.2" dependencies = [ "anyhow", "clap", @@ -911,9 +911,9 @@ checksum = "d626bb9dae77e28219937af045c257c28bfd3f69333c512553507f5f9798cb76" [[package]] name = "rustix" -version = "0.37.19" +version = "0.37.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "acf8729d8542766f1b2cf77eb034d52f40d375bb8b615d0b147089946e16613d" +checksum = "fea8ca367a3a01fe35e6943c400addf443c0f57670e6ec51196f71a4b8762dd2" dependencies = [ "bitflags", "errno", diff --git a/Cargo.toml b/Cargo.toml index c56dec0..88bd9b2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = 'dsm' description = 'Simplified version manager for the Dart SDK' -version = '1.0.1' +version = '1.0.2' authors = ['Yakiyo '] edition = '2021' license = 'MIT' diff --git a/package.json b/package.json index 27f6e0b..f0fc57f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dsm", - "version": "1.0.1", + "version": "1.0.2", "private": true, "type": "module", "scripts": { diff --git a/src/platform.rs b/src/platform.rs index ecbfa7a..1e20880 100644 --- a/src/platform.rs +++ b/src/platform.rs @@ -15,5 +15,5 @@ pub fn platform_name() -> &'static str { #[cfg(target_os = "macos")] pub fn platform_name() -> &'static str { - "darwin" + "macos" } diff --git a/src/shell.rs b/src/shell.rs index b2c745a..898a643 100644 --- a/src/shell.rs +++ b/src/shell.rs @@ -22,7 +22,7 @@ pub enum Shell { impl Default for Shell { fn default() -> Self { match platform_name() { - "linux" | "darwin" => Self::Bash, + "linux" | "macos" => Self::Bash, "windows" => Self::Powershell, platform => { log::error!("Unknown platform {platform} received");