homebrew-cask/Casks/anka-flow.rb

46 lines
1.6 KiB
Ruby
Raw Normal View History

2017-08-24 12:20:41 +08:00
cask 'anka-flow' do
2018-01-14 20:04:13 +08:00
version '1.1.3.81'
sha256 '4cc4f0118518e44d5ccdb301a5c140cb13bbeda246202462000943ba178c130b'
# d1efqjhnhbvc57.cloudfront.net was verified as official when first introduced to the cask
2017-08-24 12:20:41 +08:00
url "https://d1efqjhnhbvc57.cloudfront.net/AnkaFlow-#{version}.pkg",
referer: 'https://veertu.com/download-anka-run/'
appcast 'https://ankadoc.bitbucket.io/release-notes/index.html',
2018-01-14 20:04:13 +08:00
checkpoint: '28374389f11edafe6d722ba4f8a79bc71fa571fce6e45c3f4e70ecd9a93ed09c'
2017-08-24 12:20:41 +08:00
name 'Veertu Anka Flow'
homepage 'https://veertu.com/'
2017-08-24 12:20:41 +08:00
depends_on macos: '>= :yosemite'
pkg "AnkaFlow-#{version}.pkg"
2017-08-04 16:55:20 +08:00
uninstall launchctl: [
'com.veertu.nlimit',
'com.veertu.vlaunch',
],
script: {
executable: '/Library/Application Support/Veertu/Anka/tools/uninstall.sh',
args: ['-f'],
sudo: true,
}
2017-11-18 17:35:03 +08:00
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',
]
2017-11-12 21:04:55 +08:00
caveats <<~EOS
Installing this Cask means you have AGREED to the
Veertu End User License Agreement at
https://veertu.com/terms-and-conditions/
EOS
end