homebrew-cask/Casks/loginputmac.rb

18 lines
662 B
Ruby

cask 'loginputmac' do
version '2.2.9'
sha256 'd45198b2820be76a0e2d172ecbe860f46c64f0700982501d6875984dfea93138'
# loginput-mac2.content-delivery.top was verified as official when first introduced to the cask
url "https://loginput-mac2.content-delivery.top/loginputmac#{version.major}_latest.pkg"
appcast "https://im.logcg.com/appcast#{version.major}.xml"
name 'LoginputMac'
homepage "https://im.logcg.com/loginputmac#{version.major}"
auto_updates true
pkg "loginputmac#{version.major}_latest.pkg"
uninstall pkgutil: "com.logcg.pkg.LoginputMac#{version.major}",
quit: "com.logcg.inputmethod.LogInputMac#{version.major}"
end