2015-12-18 09:15:28 +08:00
|
|
|
cask 'blockblock' do
|
2018-01-22 02:03:16 +08:00
|
|
|
version '0.9.9.1'
|
2018-01-23 04:37:25 +08:00
|
|
|
sha256 'e3c3043a6628e6fc455edc39068d59e91d11186a30a08cd3e505a5d65c26e964'
|
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"
|
2017-04-23 18:27:54 +08:00
|
|
|
appcast 'https://objective-see.com/products/changelogs/BlockBlock.txt',
|
2018-01-23 04:37:25 +08:00
|
|
|
checkpoint: 'c6b1c0717efd633e59199878fdb509e811ac7ae47bc7ed79d23e8f40042ccc63'
|
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-01-23 04:37:25 +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-01-23 04:37:25 +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
|