Browse Source

Add istat-menus version 5 (#4526)

* Add istat-menus version 5

* Fix istat-menus5 cask name

* Update istat-menus5.rb
master
Rob Decker 7 years ago
committed by Miccal Matthews
parent
commit
8b49b64ccf
  1. 40
      Casks/istat-menus5.rb

40
Casks/istat-menus5.rb

@ -0,0 +1,40 @@
cask 'istat-menus5' do
version '5.32'
sha256 'bfb1cd95d119c4248190dc6093147a2b08a04b27b9e57e90638d720f7b2f24c7'
# amazonaws.com/bjango was verified as official when first introduced to the cask
url "https://s3.amazonaws.com/bjango/files/istatmenus#{version.major}/istatmenus#{version}.zip"
name 'iStats Menus'
homepage 'https://bjango.com/mac/istatmenus/'
auto_updates true
app 'iStat Menus.app'
uninstall delete: "/Library/Application Support/iStat Menus #{version.major}",
launchctl: [
'com.bjango.istatmenusagent',
'com.bjango.istatmenusdaemon',
'com.bjango.istatmenusnotifications',
'com.bjango.istatmenusstatus',
],
signal: [
['TERM', 'com.bjango.iStat-Menus-Notifications'],
['TERM', 'com.bjango.iStatMenusAgent'],
['TERM', 'com.bjango.istatmenusstatus'],
['TERM', 'com.bjango.istatmenus'],
['HUP', 'com.bjango.istatmenus'],
]
zap trash: [
'~/Library/Application Support/iStat Menus',
'~/Library/Caches/com.bjango.istatmenus',
'~/Library/Caches/com.bjango.istatmenusstatus',
'~/Library/Caches/com.bjango.iStat-Menus-Updater',
'~/Library/Caches/com.bjango.iStatMenusAgent',
'~/Library/Logs/iStat Menus',
'~/Library/Preferences/com.bjango.istatmenus.plist',
"~/Library/Preferences/com.bjango.istatmenus#{version.major}.extras.plist",
'~/Library/Preferences/com.bjango.istatmenusstatus.plist',
]
end
Loading…
Cancel
Save