2 cask :v1 => 'aliedit' do
6 url 'https://d.alipayobjects.com/sec/edit/wkaliedit.dmg'
8 homepage 'https://110.alipay.com/sc/aliedit/intro.htm'
13 uninstall :pkgutil => 'com.alipay.www',
15 'com.alipay.DispatcherService',
16 'com.alipay.refresher.agent',
19 '/Library/Application Support/Alipay',
20 '/Library/Google/Chrome/NativeMessagingHosts/com.alipay.cert.json',
21 '/Library/Google/Chrome/NativeMessagingHosts/com.alipay.edit.json',
22 '/Library/Google/Chrome/NativeMessagingHosts/com.alipay.security.json',
23 '/Library/LaunchDaemons/com.alipay.DispatcherService.plist',
24 # the files under ~/Library are installed by the pkg, and logically should be removed by uninstall
25 File.expand_path('~/Library/Alipay'),
26 File.expand_path('~/Library/Internet Plug-Ins/aliedit.plugin'),
27 File.expand_path('~/Library/Internet Plug-Ins/npalicdo.plugin'),
28 File.expand_path('~/Library/LaunchAgents/com.alipay.refresher.plist'),