2014-11-14 01:27:12 +08:00
|
|
|
cask :v1 => 'totalspaces' do
|
2014-10-04 22:13:21 +08:00
|
|
|
|
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"
|
|
|
|
|
|
|
|
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-03-21 01:56:14 +08:00
|
|
|
version '2.2.19'
|
|
|
|
sha256 'bf2d496ac7d688649fc0a43b4e9d1c8f15c3819a58628dc3aa16c11b1933726e'
|
2014-10-04 22:13:21 +08:00
|
|
|
|
2014-11-07 07:42:54 +08:00
|
|
|
url "http://downloads.binaryage.com/TotalSpaces2-#{version}.dmg"
|
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 => {
|
|
|
|
:executable => 'TotalSpaces2 Uninstaller.app/Contents/MacOS/TotalSpaces2 Uninstaller',
|
|
|
|
:args => %w[--headless],
|
|
|
|
},
|
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
|
|
|
|
|
|
|
uninstall :signal => [
|
|
|
|
['INT', 'com.binaryage.totalspacescrashwatcher'],
|
|
|
|
['KILL', 'com.binaryage.totalspacescrashwatcher'],
|
|
|
|
]
|
2013-05-28 17:38:14 +08:00
|
|
|
end
|