27 lines
1.0 KiB
Ruby
27 lines
1.0 KiB
Ruby
cask 'blockblock' do
|
|
version '0.9.9.3'
|
|
sha256 '885298a2fff4af416e7698428690832f54e835bcd67ae1fd41529dab8bdaa9de'
|
|
|
|
# bitbucket.org/objective-see was verified as official when first introduced to the cask
|
|
url "https://bitbucket.org/objective-see/deploy/downloads/BlockBlock_#{version}.zip"
|
|
appcast 'https://objective-see.com/products/changelogs/BlockBlock.txt'
|
|
name 'BlockBlock'
|
|
homepage 'https://objective-see.com/products/blockblock.html'
|
|
|
|
depends_on macos: '>= :mavericks'
|
|
|
|
installer script: {
|
|
executable: "#{staged_path}/BlockBlock Installer.app/Contents/MacOS/BlockBlock",
|
|
args: ['-install'],
|
|
sudo: true,
|
|
}
|
|
|
|
uninstall script: {
|
|
executable: "#{staged_path}/BlockBlock Installer.app/Contents/MacOS/BlockBlock",
|
|
args: ['-uninstall'],
|
|
sudo: true,
|
|
}
|
|
|
|
zap trash: '~/Library/Preferences/com.objectiveSee.BlockBlock.plist'
|
|
end
|