homebrew-cask/Casks/loginputmac.rb

18 lines
662 B
Ruby

cask 'loginputmac' do
version '2.2.6'
sha256 '00ac53e50b7a3b61da02ca8b8f741d8a7fecc3f86490ef426eb5a06fed3f4b7f'
# 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