homebrew-cask/Casks/blockblock.rb

27 lines
1.0 KiB
Ruby
Raw Normal View History

2015-12-18 09:15:28 +08:00
cask 'blockblock' do
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"
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'
installer script: {
2018-01-23 04:37:25 +08:00
executable: "#{staged_path}/BlockBlock_Installer.app/Contents/MacOS/BlockBlock",
args: ['-install'],
sudo: true,
}
2015-09-20 05:32:26 +08:00
uninstall script: {
2018-01-23 04:37:25 +08:00
executable: "#{staged_path}/BlockBlock_Installer.app/Contents/MacOS/BlockBlock",
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