homebrew-cask/Casks/loginputmac.rb

18 lines
663 B
Ruby

cask 'loginputmac' do
version '2.3.6'
sha256 '473040a7a8ebd5d1a811903af0791b11060044869e799832be73f1b232243bcd'
# 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