30 lines
1.0 KiB
Ruby
30 lines
1.0 KiB
Ruby
cask "intel-haxm" do
|
|
version "7.6.1"
|
|
sha256 "c8b6451c3ad9fa40ea2711cb3521a81227ec8c0c093bd1b278e65f9bde19260e"
|
|
|
|
# github.com/intel/haxm/ was verified as official when first introduced to the cask
|
|
url "https://github.com/intel/haxm/releases/download/v#{version}/haxm-macosx_v#{version.dots_to_underscores}.zip"
|
|
appcast "https://github.com/intel/haxm/releases.atom"
|
|
name "Intel HAXM"
|
|
homepage "https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager"
|
|
|
|
depends_on macos: ">= :yosemite"
|
|
|
|
installer script: {
|
|
executable: "silent_install.sh",
|
|
sudo: true,
|
|
}
|
|
|
|
uninstall pkgutil: "com.intel.kext.haxm.*",
|
|
script: {
|
|
sudo: true,
|
|
must_succeed: true,
|
|
executable: "silent_install.sh",
|
|
args: ["-u"],
|
|
}
|
|
|
|
caveats do
|
|
license "https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager-end-user-license-agreement-macosx"
|
|
end
|
|
end
|