29 lines
712 B
Ruby
29 lines
712 B
Ruby
cask "qingg" do
|
|
version "2.13"
|
|
sha256 "03cfd70f401a4e724daf487b7af9c8ee0aa9cde2aa2d27ba3caf126107d43019"
|
|
|
|
url "https://qingg.im/download/Qingg-#{version}.dmg"
|
|
name "QinggIM"
|
|
name "清歌输入法"
|
|
desc "Wubi input method"
|
|
homepage "https://qingg.im/mac/"
|
|
|
|
livecheck do
|
|
url "https://qingg.im/sparkle/appcast.php"
|
|
strategy :sparkle, &:short_version
|
|
end
|
|
|
|
auto_updates true
|
|
|
|
pkg "安装包.pkg"
|
|
|
|
uninstall pkgutil: "com.aodaren.*"
|
|
|
|
zap trash: [
|
|
"~/Library/Application Support/com.aodaren.inputmethod.Qingg",
|
|
"~/Library/Application Support/Qingg",
|
|
"~/Library/Caches/com.aodaren.inputmethod.Qingg",
|
|
"~/Library/Preferences/com.aodaren.inputmethod.Qingg.plist",
|
|
]
|
|
end
|