homebrew-cask/Casks/eqmac.rb

30 lines
1.2 KiB
Ruby
Raw Normal View History

2017-08-06 21:57:44 +08:00
cask 'eqmac' do
2017-12-03 05:56:05 +08:00
version '2.2'
sha256 'ff60579197b52571d9686bbfaec695dfa75797b8a9314fbf69a673bbeb12e1fc'
2017-08-06 21:57:44 +08:00
2017-12-03 05:56:05 +08:00
# github.com/nodeful/eqMac was verified as official when first introduced to the cask
url "https://github.com/nodeful/eqMac#{version.major}/releases/download/V#{version}/eqMac#{version.major}.dmg"
appcast "https://github.com/nodeful/eqMac#{version.major}/releases.atom",
checkpoint: '3eb76b4bdc9b935629de67bf2721479cf8381cbb3d4cff50eaa4154a16fc465d'
2017-08-06 21:57:44 +08:00
name 'eqMac'
homepage 'https://www.bitgapp.com/eqmac/'
app "eqMac#{version.major}.app"
installer script: {
executable: "#{staged_path}/eqMac#{version.major}.app/Contents/Resources/install_driver.sh",
2017-08-06 21:57:44 +08:00
sudo: true,
}
uninstall login_item: "eqMac#{version.major}",
quit: "com.bitgapp.eqMac#{version.major}",
script: {
executable: "#{appdir}/eqMac#{version.major}.app/Contents/Resources/uninstall_driver.sh",
2017-08-06 21:57:44 +08:00
sudo: true,
}
2017-11-18 17:59:16 +08:00
zap trash: [
"~/Library/Caches/com.bitgapp.eqMac#{version.major}",
"~/Library/Cookies/com.bitgapp.eqMac#{version.major}.binarycookies",
]
2017-08-06 21:57:44 +08:00
end