homebrew-cask/Casks/bassjump.rb

37 lines
1.5 KiB
Ruby
Raw Normal View History

2015-12-18 09:15:28 +08:00
cask 'bassjump' do
2016-08-08 03:12:48 +08:00
if MacOS.version <= :mountain_lion
version '2.0.3'
sha256 '8e4dffa6bb3b532b994f379d19d70903f59fc019916f10cba9d01b8075d69a7f'
2014-10-05 01:59:00 +08:00
2016-02-12 01:28:08 +08:00
# ffe82a399885f9f28605-66638985576304cbe11c530b9b932f18.r24.cf2.rackcdn.com was verified as official when first introduced to the cask
2014-10-05 01:59:00 +08:00
url "http://ffe82a399885f9f28605-66638985576304cbe11c530b9b932f18.r24.cf2.rackcdn.com/BassJumpSoundSystem-#{version}-249-ML.mpkg.zip"
2014-09-26 20:08:47 +08:00
pkg "BassJump Sound System-#{version}-249-ML.mpkg"
else
version '2.5.1'
sha256 '14408480cded51f6334753639e973ebbf2fc40f34ff64e1c35d2f32507d88afd'
2014-10-05 01:59:00 +08:00
2016-02-12 01:28:08 +08:00
# ffe82a399885f9f28605-66638985576304cbe11c530b9b932f18.r24.cf2.rackcdn.com was verified as official when first introduced to the cask
2014-10-05 01:59:00 +08:00
url "http://ffe82a399885f9f28605-66638985576304cbe11c530b9b932f18.r24.cf2.rackcdn.com/BassJumpInstaller_#{version}.dmg.zip"
2014-09-10 23:36:59 +08:00
pkg 'BassJumpInstaller.pkg'
end
2014-09-26 20:08:47 +08:00
name 'BassJump'
2015-06-29 14:32:18 +08:00
homepage 'https://www.twelvesouth.com/product/bassjump-2-for-macbook'
2014-10-16 02:38:08 +08:00
license :gratis
2014-09-26 20:08:47 +08:00
2016-08-04 20:18:13 +08:00
uninstall pkgutil: [
'com.twelvesouth.bassjump.installer.halplugin',
'com.twelvesouth.bassjump.installer.overridekext',
'com.twelvesouth.bassjump.installer.prefpane',
],
kext: 'com.twelvesouth.driver.BassJumpOverrideDriver',
login_item: 'BassJumpMenuExtra',
quit: 'com.twelvesouth.BassJumpMenuExtra'
2014-10-10 20:13:29 +08:00
caveats do
reboot
end
end