homebrew-cask/Casks/weiyun.rb

19 lines
577 B
Ruby

cask 'weiyun' do
version '3.0.1.315.28482'
sha256 '80b7bd49f30bebcef5c501d78b7b2d4b118bb05cfc6fced73cffcce25ff9191c'
# dldir1.qq.com/weiyun was verified as official when first introduced to the cask
url "https://dldir1.qq.com/weiyun/Weiyun_Mac_#{version}.dmg"
name 'weiyun'
homepage 'https://www.weiyun.com/'
app 'Weiyun.app'
uninstall quit: 'com.tencent.MacWeiyun'
zap delete: [
'~/Library/Preferences/com.tencent.MacWeiyun.plist',
'~/Library/Saved Application State/com.tencent.MacWeiyun.savedState',
]
end