homebrew-cask
homebrew-cask copied to clipboard
Use `arch` and `on_arch_conditional` DSLs
This PR modifies the remaining casks to use the new arch and on_arch_conditional DSLs instead of arch = Hardware::CPU.intel? ? "intel" : "arm". The casks in this PR are the ones that needed some sort of manual intervention and brew style --fix wasn't able to handle completely.
As with the large PR, I've verified that everything is working as expected by running brew info --json=v2 --all before and after the changes in this PR (I check on both Intel and ARM). There were no differences, indicating that all URLs remain the same after these changes.
CI failure is not due to this change, but because openshift-client needs a version bump. Should I do that in this PR or ci-syntax-only it and open a follow-up to bump?
Done in https://github.com/Homebrew/homebrew-cask/pull/129530