forked from Homebrew/homebrew-cask
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdo-not-disturb.rb
24 lines (20 loc) · 1004 Bytes
/
do-not-disturb.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 'do-not-disturb' do
version '1.3.0'
sha256 '000e3ce8f5abd1313bbb603c401a1be0b5cf4f11644d36f1d5d382745079fdc3'
# bitbucket.org/objective-see was verified as official when first introduced to the cask
url "https://bitbucket.org/objective-see/deploy/downloads/DoNotDisturb_#{version}.zip"
appcast 'https://objective-see.com/products/changelogs/DoNotDisturb.txt'
name 'Do Not Disturb'
homepage 'https://objective-see.com/products/dnd.html'
depends_on macos: '>= :sierra'
installer script: {
executable: "#{staged_path}/Do Not Disturb Installer.app/Contents/MacOS/Do Not Disturb Installer",
args: ['-install'],
sudo: true,
}
uninstall script: {
executable: "#{staged_path}/Do Not Disturb Installer.app/Contents/MacOS/Do Not Disturb Installer",
args: ['-uninstall'],
sudo: true,
}
end