homebrew-cask/Casks/anka-flow.rb

46 lines
1.6 KiB
Ruby

cask 'anka-flow' do
version '1.2.2.88'
sha256 '9b885d7301f8ffcd1a1af55e2e978a16561a2cc5493ff0bb56e16afb14dc6f53'
# d1efqjhnhbvc57.cloudfront.net was verified as official when first introduced to the cask
url "https://d1efqjhnhbvc57.cloudfront.net/AnkaFlow-#{version}.pkg",
referer: 'https://veertu.com/download-anka-run/'
appcast 'https://ankadoc.bitbucket.io/release-notes/index.html',
checkpoint: '2016e6da466725f424883294813c44ed959b04ce25f9e32737c3ecec58beb1ab'
name 'Veertu Anka Flow'
homepage 'https://veertu.com/'
depends_on macos: '>= :yosemite'
pkg "AnkaFlow-#{version}.pkg"
uninstall launchctl: [
'com.veertu.nlimit',
'com.veertu.vlaunch',
],
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 <<~EOS
Installing this Cask means you have AGREED to the
Veertu End User License Agreement at
https://veertu.com/terms-and-conditions/
EOS
end