Skip to content

Commit

Permalink
🍎 Install mas even on Apple Silicon (arm64) (#102)
Browse files Browse the repository at this point in the history
`mas` has added support for Apple Silicon: mas-cli/mas#310
  • Loading branch information
JavierCane authored Feb 22, 2021
1 parent 37fedc9 commit 745b289
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions scripts/self/utils/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,8 @@ install_macos_custom() {
brew list bat || brew install bat | log::file "Installing brew bat"
brew list hyperfine || brew install hyperfine | log::file "Installing brew hyperfine"

# More information: https://github.com/CodelyTV/dotly/issues/89
# Feel free to remove this sentence once `mas` fixes the compatibility issue with Apple Silicon
if ! platform::is_macos_arm; then
output::answer "Installing mas"
brew list mas || brew install mas | log::file "Installing mas"
fi
output::answer "Installing mas"
brew list mas || brew install mas | log::file "Installing mas"
}

install_linux_custom() {
Expand Down

0 comments on commit 745b289

Please sign in to comment.