homebrew-cask/Casks/eqmac.rb

31 lines
1.1 KiB
Ruby

cask 'eqmac' do
version '0.3.2'
sha256 'e00714eac2b082251f700032943508c1006873edd84f621583388e2e2ca6860d'
# 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