You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
1.0 KiB
31 lines
1.0 KiB
cask 'virtualbox-beta' do
|
|
if MacOS.version <= :lion
|
|
version '4.3.32-103443'
|
|
sha256 '08defbf310b7ba5852fa8dd951438bb9b1528bb1544211568861986110e807f7'
|
|
else
|
|
version '5.1.10,112026'
|
|
sha256 '3500f07be9f5e27a08c00cc626981230bdaf639f6fad0b82ecf731a0580cccef'
|
|
end
|
|
|
|
url "http://download.virtualbox.org/virtualbox/#{version.before_comma}/VirtualBox-#{version.before_comma}-#{version.after_comma}-OSX.dmg"
|
|
name 'Oracle VirtualBox'
|
|
homepage 'https://www.virtualbox.org/wiki/Testbuilds'
|
|
|
|
auto_updates true
|
|
|
|
pkg 'VirtualBox.pkg'
|
|
binary '/Applications/VirtualBox.app/Contents/MacOS/VBoxManage'
|
|
binary '/Applications/VirtualBox.app/Contents/MacOS/VBoxHeadless'
|
|
|
|
uninstall script: {
|
|
executable: 'VirtualBox_Uninstall.tool',
|
|
args: %w[--unattended],
|
|
},
|
|
pkgutil: 'org.virtualbox.pkg.*'
|
|
|
|
zap delete: [
|
|
'/Library/Application Support/VirtualBox',
|
|
'~/Library/VirtualBox',
|
|
],
|
|
rmdir: '~/VirtualBox VMs'
|
|
end
|
|
|