Merge pull request #17849 from bevanjkay/rosetta-regression

This commit is contained in:
Patrick Linnane 2024-07-24 17:09:28 -07:00 committed by GitHub
commit e44adc2c50
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -141,7 +141,7 @@ module Cask
end
caveat :requires_rosetta do
next if !Hardware::CPU.arm? && Homebrew::SimulateSystem.current_arch != :arm
next if !Hardware::CPU.arm? || Homebrew::SimulateSystem.current_arch != :arm
<<~EOS
#{@cask} is built for Intel macOS and so requires Rosetta 2 to be installed.