forked from Homebrew/homebrew-cask
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathblockblock.rb
24 lines (20 loc) · 1003 Bytes
/
blockblock.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
cask 'blockblock' do
version '0.9.9.4'
sha256 '6ab3a8224e8bc77b9abe8d41492c161454c6b0266e60e61b06931fed4b431282'
# 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'
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