forked from Homebrew/homebrew-cask
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheqmac.rb
27 lines (23 loc) · 1.09 KB
/
eqmac.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
cask 'eqmac' do
version '2.2'
sha256 'ff60579197b52571d9686bbfaec695dfa75797b8a9314fbf69a673bbeb12e1fc'
# 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"
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",
sudo: true,
}
uninstall quit: "com.bitgapp.eqMac#{version.major}",
script: {
executable: "#{appdir}/eqMac#{version.major}.app/Contents/Resources/uninstall_driver.sh",
sudo: true,
}
zap trash: [
"~/Library/Caches/com.bitgapp.eqMac#{version.major}",
"~/Library/Cookies/com.bitgapp.eqMac#{version.major}.binarycookies",
]
end