homebrew-cask/Casks/totalspaces.rb

42 lines
1.5 KiB
Ruby
Raw Normal View History

2014-11-14 01:27:12 +08:00
cask :v1 => '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',
:sha256 => '6c3149bdef9f537e45c66ffb83e9548bcf87d9be32ab0d0ed23a24df6bcc74ce'
pkg 'TotalSpaces.pkg'
2014-11-22 22:12:46 +08:00
uninstall :pkgutil => 'com.switchstep.totalspaces',
:quit => 'com.binaryage.TotalSpaces'
else
2015-10-01 22:32:06 +08:00
version '2.3.6'
sha256 '1771d91df0a9fe74fa80425cfb774d8342837ec5fb570d66c3726c96143ac0a9'
url "http://downloads.binaryage.com/TotalSpaces2-#{version}.dmg"
2015-07-10 14:24:37 +08:00
appcast 'http://updates-s3.binaryage.com/totalspaces2.xml',
2015-10-01 22:32:06 +08:00
:sha256 => 'f19340bbfd445a54ef7f501e6dd8193dc9228cb18a642d21dc280d008631cb68'
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