Skip to content

Commit

Permalink
Support matching release names including "darwin" for Apple platforms (
Browse files Browse the repository at this point in the history
  • Loading branch information
sur4y authored Jul 6, 2022
1 parent 188f99d commit c3dda48
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/tool_source/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,10 @@ impl Asset {
|| match_name.contains("win64")
{
Some(OperatingSystem::Windows)
} else if match_name.contains("macos") || match_name.contains("osx") {
} else if match_name.contains("macos")
|| match_name.contains("osx")
|| match_name.contains("darwin")
{
Some(OperatingSystem::MacOS)
} else if match_name.contains("linux") || match_name.contains("ubuntu") {
Some(OperatingSystem::Linux)
Expand Down

0 comments on commit c3dda48

Please sign in to comment.