homebrew-cask/Casks/loginputmac.rb

18 lines
665 B
Ruby

cask 'loginputmac' do
version '2.3.4_1'
sha256 '1f4e65a1048282daf93d0d551013209e6fd87bd184df3b43750a7368617f5bae'
# 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