homebrew-cask/Casks/totalspaces.rb

41 lines
1.5 KiB
Ruby
Raw Normal View History

2015-12-18 09:15:28 +08:00
cask 'totalspaces' do
2014-12-11 00:55:21 +08:00
if MacOS.release <= :mountain_lion
version '1.2.11'
sha256 'fd54c6ea092f6fae2035745959ff6e080953e77ec6c76715e532b4b0352235d4'
url "http://downloads.binaryage.com/TotalSpaces-#{version}.zip"
2015-07-10 14:24:37 +08:00
appcast 'http://updates-s3.binaryage.com/totalspaces.xml',
checkpoint: 'f52e1870289fb95d89b1cab7c42da7c824cbc582b0ea46d8bd3e9c47be81a69a'
pkg 'TotalSpaces.pkg'
2014-11-22 22:12:46 +08:00
uninstall pkgutil: 'com.switchstep.totalspaces',
quit: 'com.binaryage.TotalSpaces'
else
2016-01-24 11:39:38 +08:00
version '2.3.9'
sha256 'bceb14233264b95cdac18c57c57f1e3c95988b76e3795c270d1e8cdd4e58f250'
url "http://downloads.binaryage.com/TotalSpaces2-#{version}.dmg"
2015-07-10 14:24:37 +08:00
appcast 'http://updates-s3.binaryage.com/totalspaces2.xml',
2016-01-30 08:34:11 +08:00
checkpoint: 'f52e1870289fb95d89b1cab7c42da7c824cbc582b0ea46d8bd3e9c47be81a69a'
installer manual: 'TotalSpaces2.app'
2014-11-22 22:12:46 +08:00
uninstall pkgutil: 'com.binaryage.TotalSpaces2',
script: {
executable: 'TotalSpaces2 Uninstaller.app/Contents/MacOS/TotalSpaces2 Uninstaller',
args: %w[--headless],
},
quit: 'com.binaryage.TotalSpaces2'
end
2015-05-05 04:41:59 +08:00
name 'TotalSpaces'
2013-05-28 17:38:14 +08:00
homepage 'http://totalspaces.binaryage.com/'
license :commercial
uninstall signal: [
['INT', 'com.binaryage.totalspacescrashwatcher'],
['KILL', 'com.binaryage.totalspacescrashwatcher'],
]
2013-05-28 17:38:14 +08:00
end