homebrew-cask/Casks/heimdall-suite.rb

25 lines
767 B
Ruby
Raw Normal View History

2014-12-19 06:09:21 +08:00
cask :v1 => 'heimdall-suite' do
version '1.4.0'
sha256 '4b283fc7bc331f8ec84031c939ef9d2aa71bb8fe6be6d3434dd268d76f7c0e60'
# bitbucket.org is the official download host per the vendor homepage
2014-12-19 06:09:21 +08:00
url "https://bitbucket.org/benjamin_dobell/heimdall/downloads/heimdall-suite-#{version}-mac.dmg"
name 'Heimdall Suite'
homepage 'http://glassechidna.com.au/heimdall/'
license :mit
pkg "Heimdall Suite #{version}.pkg"
uninstall :pkgutil => 'au.com.glassechidna.HeimdallSuite',
:kext => 'au.com.glassechidna.heimdall_usb_shield'
2014-12-19 06:09:21 +08:00
2014-12-19 06:09:21 +08:00
zap :delete => [
'~/Library/Preferences/com.yourcompany.heimdall-frontend.plist',
'~/Library/Saved Application State/com.yourcompany.heimdall-frontend.savedState'
]
2014-12-19 06:09:21 +08:00
caveats do
reboot
end
end