Friendly error message on Intel (#177)

In case someone tries to install Tart. Fixes #176
This commit is contained in:
Fedor Korotkov 2022-08-10 11:13:21 -04:00 committed by GitHub
parent e2b7f12388
commit 131827802a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -40,3 +40,9 @@ brews:
- "cirruslabs/cli/softnet"
custom_block: |
depends_on :macos => :monterey
on_macos do
unless Hardware::CPU.arm?
odie "Tart only works on Apple Silicon!"
end
end