2015-12-18 09:15:28 +08:00
|
|
|
cask 'totalspaces' do
|
2014-12-11 00:55:21 +08:00
|
|
|
if MacOS.release <= :mountain_lion
|
2014-06-16 05:08:17 +08:00
|
|
|
version '1.2.11'
|
|
|
|
sha256 'fd54c6ea092f6fae2035745959ff6e080953e77ec6c76715e532b4b0352235d4'
|
2014-10-04 22:13:21 +08:00
|
|
|
|
|
|
|
url "http://downloads.binaryage.com/TotalSpaces-#{version}.zip"
|
2015-07-10 14:24:37 +08:00
|
|
|
appcast 'http://updates-s3.binaryage.com/totalspaces.xml',
|
2016-01-13 06:21:27 +08:00
|
|
|
:sha256 => '85c4fc2cb399d66dce6c54a7499f80903dfdc837f80dfd0d4d6c31a84320db7c'
|
2014-10-04 22:13:21 +08:00
|
|
|
|
|
|
|
pkg 'TotalSpaces.pkg'
|
2014-11-22 22:12:46 +08:00
|
|
|
|
2014-06-16 05:08:17 +08:00
|
|
|
uninstall :pkgutil => 'com.switchstep.totalspaces',
|
2014-12-09 20:24:14 +08:00
|
|
|
:quit => 'com.binaryage.TotalSpaces'
|
2014-08-09 22:10:15 +08:00
|
|
|
else
|
2015-10-01 22:32:06 +08:00
|
|
|
version '2.3.6'
|
|
|
|
sha256 '1771d91df0a9fe74fa80425cfb774d8342837ec5fb570d66c3726c96143ac0a9'
|
2014-10-04 22:13:21 +08:00
|
|
|
|
2014-11-07 07:42:54 +08:00
|
|
|
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-13 06:21:27 +08:00
|
|
|
:sha256 => '85c4fc2cb399d66dce6c54a7499f80903dfdc837f80dfd0d4d6c31a84320db7c'
|
2014-10-04 22:13:21 +08:00
|
|
|
|
2014-11-07 07:42:54 +08:00
|
|
|
installer :manual => 'TotalSpaces2.app'
|
2014-11-22 22:12:46 +08:00
|
|
|
|
2014-08-09 22:10:15 +08:00
|
|
|
uninstall :pkgutil => 'com.binaryage.TotalSpaces2',
|
2014-11-07 07:42:54 +08:00
|
|
|
:script => {
|
2016-01-04 03:19:44 +08:00
|
|
|
:executable => 'TotalSpaces2 Uninstaller.app/Contents/MacOS/TotalSpaces2 Uninstaller',
|
|
|
|
:args => %w[--headless],
|
2014-11-07 07:42:54 +08:00
|
|
|
},
|
2014-12-09 20:24:14 +08:00
|
|
|
:quit => 'com.binaryage.TotalSpaces2'
|
2014-06-16 05:08:17 +08:00
|
|
|
end
|
2014-10-04 22:13:21 +08:00
|
|
|
|
2015-05-05 04:41:59 +08:00
|
|
|
name 'TotalSpaces'
|
2013-05-28 17:38:14 +08:00
|
|
|
homepage 'http://totalspaces.binaryage.com/'
|
2014-11-07 07:42:54 +08:00
|
|
|
license :commercial
|
2014-12-09 20:24:14 +08:00
|
|
|
|
2016-01-04 03:19:44 +08:00
|
|
|
uninstall :signal => [
|
2014-12-09 20:24:14 +08:00
|
|
|
['INT', 'com.binaryage.totalspacescrashwatcher'],
|
|
|
|
['KILL', 'com.binaryage.totalspacescrashwatcher'],
|
2016-01-04 03:19:44 +08:00
|
|
|
]
|
2013-05-28 17:38:14 +08:00
|
|
|
end
|