forked from Homebrew/homebrew-cask
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathanka-flow.rb
43 lines (37 loc) · 1.53 KB
/
anka-flow.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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
cask 'anka-flow' do
version '2.1.1.111'
sha256 '1cedfc9ff7fbedda84cc99eb8a88cc908262887dd254184a93d4b930989ae797'
# d1efqjhnhbvc57.cloudfront.net was verified as official when first introduced to the cask
url "https://d1efqjhnhbvc57.cloudfront.net/Anka-#{version}.pkg",
referer: 'https://veertu.com/download-anka-run/'
appcast 'https://macupdater.net/cgi-bin/check_urls/check_url_redirect.cgi?url=https://veertu.com/downloads/ankaflow-latest'
name 'Veertu Anka Flow'
homepage 'https://veertu.com/'
depends_on macos: '>= :yosemite'
pkg "Anka-#{version}.pkg"
uninstall launchctl: [
'com.veertu.nlimit',
'com.veertu.vlaunch',
'com.veertu.anka.lupd',
'com.veertu.anka.ankakbd',
],
script: {
executable: '/Library/Application Support/Veertu/Anka/tools/uninstall.sh',
args: ['-f'],
sudo: true,
}
zap trash: [
'~/.anka',
'~/Library/Application Support/Veertu/Anka',
'~/Library/Logs/Anka',
'~/Library/Preferences/com.veertu.ankaview.plist',
'/Library/Application Support/Veertu/Anka',
],
rmdir: [
'~/Library/Application Support/Veertu',
'/Library/Application Support/Veertu',
]
caveats do
license 'https://veertu.com/terms-and-conditions/'
end
end