28 lines
1.1 KiB
Ruby
28 lines
1.1 KiB
Ruby
cask 'blockblock' do
|
|
version '0.9.9'
|
|
sha256 '133ebdffd9847e17af048cdeb069ba5d1978595f6855d7fabf0cface0e562609'
|
|
|
|
# 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: '143a59e168fcbdb4c391bf55d371ee09ea689246c25c005a2d2ffb0b7a62da11'
|
|
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
|