41 lines
1.5 KiB
Ruby
41 lines
1.5 KiB
Ruby
cask 'totalspaces' do
|
|
if MacOS.version <= :mountain_lion
|
|
version '1.2.11'
|
|
sha256 'fd54c6ea092f6fae2035745959ff6e080953e77ec6c76715e532b4b0352235d4'
|
|
|
|
url "http://downloads.binaryage.com/TotalSpaces-#{version}.zip"
|
|
appcast 'http://updates-s3.binaryage.com/totalspaces.xml',
|
|
checkpoint: 'f52e1870289fb95d89b1cab7c42da7c824cbc582b0ea46d8bd3e9c47be81a69a'
|
|
|
|
pkg 'TotalSpaces.pkg'
|
|
|
|
uninstall pkgutil: 'com.switchstep.totalspaces',
|
|
quit: 'com.binaryage.TotalSpaces'
|
|
else
|
|
version '2.5.0'
|
|
sha256 '8aeb2176c2e22356fe7919e904db05880fa49c10de74f00bdc82614d1a41e9ef'
|
|
|
|
url "http://downloads.binaryage.com/TotalSpaces2-#{version}.dmg"
|
|
appcast 'http://updates-s3.binaryage.com/totalspaces2.xml',
|
|
checkpoint: 'b3650a22599c6be19c377b65f1c1f838acb6222b254c7b8616785a099e28398d'
|
|
|
|
installer manual: 'TotalSpaces2.app'
|
|
|
|
uninstall pkgutil: 'com.binaryage.TotalSpaces2',
|
|
script: {
|
|
executable: 'TotalSpaces2 Uninstaller.app/Contents/MacOS/TotalSpaces2 Uninstaller',
|
|
args: %w[--headless],
|
|
sudo: true,
|
|
},
|
|
quit: 'com.binaryage.TotalSpaces2'
|
|
end
|
|
|
|
name 'TotalSpaces'
|
|
homepage 'http://totalspaces.binaryage.com/'
|
|
|
|
uninstall signal: [
|
|
['INT', 'com.binaryage.totalspacescrashwatcher'],
|
|
['KILL', 'com.binaryage.totalspacescrashwatcher'],
|
|
]
|
|
end
|