2018-03-12 08:28:01 +08:00
|
|
|
cask 'anka-build' do
|
2018-05-24 06:29:36 +08:00
|
|
|
version '1.3.0.91'
|
|
|
|
sha256 'e032c4e745f214aac28e2abc7371c3edffdf4127716969b5c16c25d9f4963f12'
|
2018-03-12 08:28:01 +08:00
|
|
|
|
|
|
|
# d1efqjhnhbvc57.cloudfront.net was verified as official when first introduced to the cask
|
|
|
|
url "https://d1efqjhnhbvc57.cloudfront.net/AnkaBuild-#{version}.pkg",
|
|
|
|
referer: 'https://veertu.com/download-anka-build/'
|
2018-06-12 22:37:26 +08:00
|
|
|
appcast 'https://ankadoc.bitbucket.io/release-notes/index.html'
|
2018-03-12 08:28:01 +08:00
|
|
|
name 'Veertu Anka Build'
|
|
|
|
homepage 'https://veertu.com/'
|
|
|
|
|
|
|
|
depends_on macos: '>= :yosemite'
|
|
|
|
|
|
|
|
pkg "AnkaBuild-#{version}.pkg"
|
|
|
|
|
|
|
|
uninstall launchctl: [
|
|
|
|
'com.veertu.nlimit',
|
|
|
|
'com.veertu.vlaunch',
|
2018-05-24 06:29:36 +08:00
|
|
|
'com.veertu.anka.lupd',
|
2018-03-12 08:28:01 +08:00
|
|
|
],
|
|
|
|
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',
|
|
|
|
]
|
|
|
|
|
2018-05-22 02:45:05 +08:00
|
|
|
caveats do
|
|
|
|
license 'https://veertu.com/terms-and-conditions/'
|
|
|
|
end
|
2018-03-12 08:28:01 +08:00
|
|
|
end
|