homebrew-cask/Casks/anka-flow.rb

43 lines
1.4 KiB
Ruby
Raw Normal View History

2017-08-24 12:20:41 +08:00
cask 'anka-flow' do
2018-05-24 06:29:19 +08:00
version '1.3.0.91'
sha256 'e270319e6546f188064f292a55d22c0d76d3669f259cdfcc93444ba4a178f019'
# 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/'
2018-06-12 22:37:26 +08:00
appcast 'https://ankadoc.bitbucket.io/release-notes/index.html'
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',
2018-05-24 06:29:19 +08:00
'com.veertu.anka.lupd',
2017-08-04 16:55:20 +08:00
],
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 do
license 'https://veertu.com/terms-and-conditions/'
end
end