Skip to content

Commit

Permalink
fix mac mod installation
Browse files Browse the repository at this point in the history
  • Loading branch information
HJfod committed Apr 2, 2023
1 parent 3bc6726 commit 21232aa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion 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.2.0"
version = "2.2.1"
authors = ["HJfod <dreadrollmusic@gmail.com>", "Camila314 <ilaca314@gmail.com>"]
edition = "2021"
build = "build.rs"
Expand Down
2 changes: 1 addition & 1 deletion src/index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ pub fn install_mod(config: &Config, id: &String, version: &VersionReq) -> PathBu

let plat = if cfg!(windows) {
"windows"
} else if cfg!(macos) {
} else if cfg!(target_os = "macos") {
"macos"
} else {
panic!("This platform doesn't support installing mods");
Expand Down

0 comments on commit 21232aa

Please sign in to comment.