Skip to content

Commit 21232aa

Browse files
committed
fix mac mod installation
1 parent 3bc6726 commit 21232aa

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "geode"
3-
version = "2.2.0"
3+
version = "2.2.1"
44
authors = ["HJfod <[email protected]>", "Camila314 <[email protected]>"]
55
edition = "2021"
66
build = "build.rs"

src/index.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ pub fn install_mod(config: &Config, id: &String, version: &VersionReq) -> PathBu
170170

171171
let plat = if cfg!(windows) {
172172
"windows"
173-
} else if cfg!(macos) {
173+
} else if cfg!(target_os = "macos") {
174174
"macos"
175175
} else {
176176
panic!("This platform doesn't support installing mods");

0 commit comments

Comments
 (0)