add arm64 info to Cask-Cookbook.md

This commit is contained in:
hyuraku 2022-03-17 21:15:14 +09:00
parent fed93bb934
commit ab8d372272

View File

@ -502,6 +502,7 @@ The available symbols for hardware are:
| ---------- | -------------- | | ---------- | -------------- |
| `:x86_64` | 64-bit Intel | | `:x86_64` | 64-bit Intel |
| `:intel` | 64-bit Intel | | `:intel` | 64-bit Intel |
| `:arm64` | Apple M1 |
The following are all valid expressions: The following are all valid expressions:
@ -509,10 +510,9 @@ The following are all valid expressions:
depends_on arch: :intel depends_on arch: :intel
depends_on arch: :x86_64 # same meaning as above depends_on arch: :x86_64 # same meaning as above
depends_on arch: [:x86_64] # same meaning as above depends_on arch: [:x86_64] # same meaning as above
depends_on arch: :arm64
``` ```
Since as of now all the macOS versions we support only run on 64-bit Intel, `depends_on arch:` is never necessary.
#### All depends_on Keys #### All depends_on Keys
| key | description | | key | description |