2015-12-18 09:15:28 +08:00
|
|
|
cask 'blockblock' do
|
2018-06-18 08:36:32 +08:00
|
|
|
version '0.9.9.3'
|
|
|
|
sha256 '885298a2fff4af416e7698428690832f54e835bcd67ae1fd41529dab8bdaa9de'
|
2015-09-20 05:32:26 +08:00
|
|
|
|
2016-02-12 01:46:40 +08:00
|
|
|
# bitbucket.org/objective-see was verified as official when first introduced to the cask
|
2015-09-20 05:32:26 +08:00
|
|
|
url "https://bitbucket.org/objective-see/deploy/downloads/BlockBlock_#{version}.zip"
|
2018-06-12 22:37:26 +08:00
|
|
|
appcast 'https://objective-see.com/products/changelogs/BlockBlock.txt'
|
2015-09-20 05:32:26 +08:00
|
|
|
name 'BlockBlock'
|
|
|
|
homepage 'https://objective-see.com/products/blockblock.html'
|
|
|
|
|
2017-04-23 18:27:54 +08:00
|
|
|
depends_on macos: '>= :mavericks'
|
|
|
|
|
2017-04-09 17:24:03 +08:00
|
|
|
installer script: {
|
2018-06-17 20:10:44 +08:00
|
|
|
executable: "#{staged_path}/BlockBlock Installer.app/Contents/MacOS/BlockBlock",
|
2017-04-09 17:24:03 +08:00
|
|
|
args: ['-install'],
|
|
|
|
sudo: true,
|
|
|
|
}
|
2015-09-20 05:32:26 +08:00
|
|
|
|
2017-04-09 17:24:03 +08:00
|
|
|
uninstall script: {
|
2018-06-17 20:10:44 +08:00
|
|
|
executable: "#{staged_path}/BlockBlock Installer.app/Contents/MacOS/BlockBlock",
|
2017-04-09 17:24:03 +08:00
|
|
|
args: ['-uninstall'],
|
|
|
|
sudo: true,
|
|
|
|
}
|
2017-04-23 18:27:54 +08:00
|
|
|
|
2017-11-18 17:38:07 +08:00
|
|
|
zap trash: '~/Library/Preferences/com.objectiveSee.BlockBlock.plist'
|
2015-09-20 05:32:26 +08:00
|
|
|
end
|