28 lines
1.1 KiB
Ruby
28 lines
1.1 KiB
Ruby
cask 'blockblock' do
|
|
version '0.9.9.1'
|
|
sha256 'e3c3043a6628e6fc455edc39068d59e91d11186a30a08cd3e505a5d65c26e964'
|
|
|
|
# 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',
|
|
checkpoint: 'c6b1c0717efd633e59199878fdb509e811ac7ae47bc7ed79d23e8f40042ccc63'
|
|
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
|