2013-05-28 17:38:14 +08:00
|
|
|
class Totalspaces < Cask
|
2014-08-09 22:10:15 +08:00
|
|
|
if MacOS.version < :mavericks
|
2014-06-16 05:08:17 +08:00
|
|
|
url 'http://downloads.binaryage.com/TotalSpaces-1.2.11.zip'
|
|
|
|
version '1.2.11'
|
2014-09-10 23:37:07 +08:00
|
|
|
pkg 'TotalSpaces.pkg'
|
2014-06-16 05:08:17 +08:00
|
|
|
sha256 'fd54c6ea092f6fae2035745959ff6e080953e77ec6c76715e532b4b0352235d4'
|
|
|
|
uninstall :pkgutil => 'com.switchstep.totalspaces',
|
|
|
|
:quit => 'com.binaryage.TotalSpaces',
|
|
|
|
:signal => [
|
|
|
|
['INT', 'com.binaryage.totalspacescrashwatcher'],
|
|
|
|
['KILL', 'com.binaryage.totalspacescrashwatcher'],
|
|
|
|
]
|
2014-08-09 22:10:15 +08:00
|
|
|
else
|
|
|
|
url "http://downloads.binaryage.com/TotalSpaces2-2.2.6.zip"
|
|
|
|
version '2.2.6'
|
2014-09-10 23:37:07 +08:00
|
|
|
pkg 'TotalSpaces2.pkg'
|
2014-08-09 22:10:15 +08:00
|
|
|
sha256 '900ece3f5ceae479b4019f854e1875eb402edf3ef1b17f813a70fe42290a0a12'
|
|
|
|
uninstall :pkgutil => 'com.binaryage.TotalSpaces2',
|
|
|
|
:quit => 'com.binaryage.TotalSpaces2',
|
|
|
|
:signal => [
|
|
|
|
['INT', 'com.binaryage.totalspacescrashwatcher'],
|
|
|
|
['KILL', 'com.binaryage.totalspacescrashwatcher'],
|
|
|
|
]
|
2014-06-16 05:08:17 +08:00
|
|
|
end
|
2013-05-28 17:38:14 +08:00
|
|
|
homepage 'http://totalspaces.binaryage.com/'
|
|
|
|
end
|