homebrew-cask/Casks/eqmac.rb

31 lines
1.1 KiB
Ruby

cask 'eqmac' do
version '0.2.0'
sha256 '3858267527109dda4598349a5135f521cd3a6c5206c2c005d8d2849003b8c304'
# github.com/bitgapp/eqMac/ was verified as official when first introduced to the cask
url "https://github.com/bitgapp/eqMac/releases/download/v#{version}/eqMac.dmg"
appcast 'https://github.com/bitgapp/eqMac/releases.atom'
name 'eqMac'
homepage 'https://eqmac.app/'
app 'eqMac.app'
installer script: {
executable: "#{staged_path}/eqMac.app/Contents/Resources/install_driver.sh",
sudo: true,
}
uninstall quit: [
'com.bitgapp.eqmac',
'com.bitgapp.eqmac-LaunchAtLoginHelper',
],
script: {
executable: "#{appdir}/eqMac.app/Contents/Resources/uninstall_driver.sh",
sudo: true,
}
zap trash: [
'~/Library/Caches/com.bitgapp.eqmac',
'~/Library/Cookies/com.bitgapp.eqmac.binarycookies',
]
end