Skip to content

Commit

Permalink
Merge pull request #6873 from rolandwalker/installer_manual_casks
Browse files Browse the repository at this point in the history
use `installer :manual` in 21 Casks
  • Loading branch information
ndr committed Oct 22, 2014
2 parents 352d99b + 2b44e93 commit ddf4929
Show file tree
Hide file tree
Showing 21 changed files with 26 additions and 67 deletions.
4 changes: 1 addition & 3 deletions Casks/adobe-creative-cloud.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,5 @@ class AdobeCreativeCloud < Cask
homepage 'https://creative.adobe.com/products/creative-cloud'
license :commercial

caveats do
manual_installer 'Creative Cloud Installer.app'
end
installer :manual => 'Creative Cloud Installer.app'
end
4 changes: 1 addition & 3 deletions Casks/backblaze.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,5 @@ class Backblaze < Cask
homepage 'https://www.backblaze.com/'
license :commercial

caveats do
manual_installer 'Backblaze Installer.app'
end
installer :manual => 'Backblaze Installer.app'
end
6 changes: 2 additions & 4 deletions Casks/baiduinput.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@ class Baiduinput < Cask
homepage 'http://wuxian.baidu.com/input/mac.html'
license :gratis

installer :manual => '安装百度输入法.app'

uninstall :pkgutil => 'com.baidu.inputmethod.*',
:delete => '/Library/Input Methods/BaiduIM.app'

caveats do
manual_installer '安装百度输入法.app'
end
end
4 changes: 1 addition & 3 deletions Casks/dbvisualizer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,5 @@ class Dbvisualizer < Cask
homepage 'http://www.dbvis.com/'
license :commercial

caveats do
manual_installer('DbVisualizer Installer.app')
end
installer :manual => 'DbVisualizer Installer.app'
end
6 changes: 2 additions & 4 deletions Casks/default-folder-x.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,11 @@ class DefaultFolderX < Cask
homepage 'http://www.stclairsoft.com/DefaultFolderX'
license :unknown

installer :manual => 'Default Folder X Installer.app'

zap :delete => [
'~/Library/Preferences/com.stclairsoft.DefaultFolderX.favorites.plist',
'~/Library/Preferences/com.stclairsoft.DefaultFolderX.plist',
'~/Library/Preferences/com.stclairsoft.DefaultFolderX.settings.plist',
]

caveats do
manual_installer 'Default Folder X Installer.app'
end
end
4 changes: 1 addition & 3 deletions Casks/google-nik-collection.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,5 @@ class GoogleNikCollection < Cask
homepage 'https://www.google.com/nikcollection/'
license :unknown

caveats do
manual_installer 'Nik Collection.app'
end
installer :manual => 'Nik Collection.app'
end
4 changes: 1 addition & 3 deletions Casks/jdownloader.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,5 @@ class Jdownloader < Cask
homepage 'http://jdownloader.org/'
license :unknown

caveats do
manual_installer 'JDownloader Installer.app'
end
installer :manual => 'JDownloader Installer.app'
end
6 changes: 2 additions & 4 deletions Casks/little-snitch.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,12 @@ class LittleSnitch < Cask
homepage 'http://www.obdev.at/products/littlesnitch/index.html'
license :unknown

installer :manual => 'Little Snitch Installer.app'

zap :delete => [
'~/Library/Preferences/at.obdev.LittleSnitchNetworkMonitor.plist',
'~/Library/Application Support/Little Snitch/rules.usr.xpl',
'~/Library/Application Support/Little Snitch/configuration.xpl',
'~/Library/Application Support/Little Snitch/configuration.user.xpl',
]

caveats do
manual_installer 'Little Snitch Installer.app'
end
end
4 changes: 1 addition & 3 deletions Casks/logmein-hamachi.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,5 @@ class LogmeinHamachi < Cask
homepage 'http://vpn.net'
license :unknown

caveats do
manual_installer 'LogMeInHamachiInstaller.app'
end
installer :manual => 'LogMeInHamachiInstaller.app'
end
6 changes: 1 addition & 5 deletions Casks/omnifocus-clip-o-tron.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,5 @@ class OmnifocusClipOTron < Cask
homepage 'http://support.omnigroup.com/omnifocus-clip-o-tron'
license :unknown

app 'OmniFocus Clip-o-Tron.app'

caveats do
manual_installer 'OmniFocus Clip-o-Tron.app'
end
installer :manual => 'OmniFocus Clip-o-Tron.app'
end
4 changes: 1 addition & 3 deletions Casks/paye-tools.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,5 @@ class PayeTools < Cask
homepage 'http://www.hmrc.gov.uk/payerti/payroll/bpt/paye-tools.htm'
license :unknown

caveats do
manual_installer "payetools-rti-#{version}-osx.app"
end
installer :manual => "payetools-rti-#{version}-osx.app"
end
4 changes: 1 addition & 3 deletions Casks/ps3-media-server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,5 @@ class Ps3MediaServer < Cask
homepage 'http://www.ps3mediaserver.org/'
license :oss

caveats do
manual_installer 'PS3 Media Server Setup.app'
end
installer :manual => 'PS3 Media Server Setup.app'
end
4 changes: 1 addition & 3 deletions Casks/scout.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,5 @@ class Scout < Cask
homepage 'http://mhs.github.io/scout-app/'
license :oss

caveats do
manual_installer 'Install Scout.app'
end
installer :manual => 'Install Scout.app'
end
6 changes: 2 additions & 4 deletions Casks/sogouinput.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ class Sogouinput < Cask
homepage 'http://pinyin.sogou.com/mac/'
license :unknown

uninstall :delete => '/Library/Input Methods/SogouInput.app'
installer :manual => '安装搜狗输入法.app'

caveats do
manual_installer '安装搜狗输入法.app'
end
uninstall :delete => '/Library/Input Methods/SogouInput.app'
end
4 changes: 1 addition & 3 deletions Casks/sts.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,5 @@ def self.based_on_eclipse
homepage 'http://spring.io/tools/sts'
license :unknown

caveats do
manual_installer "Installer - Spring Tool Suite #{version}.RELEASE.app"
end
installer :manual => "Installer - Spring Tool Suite #{version}.RELEASE.app"
end
4 changes: 1 addition & 3 deletions Casks/thinkorswim.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,5 @@ class Thinkorswim < Cask
homepage 'http://mediaserver.thinkorswim.com/installer/install.html#macosx'
license :unknown

caveats do
manual_installer 'thinkorswim Installer.app'
end
installer :manual => 'thinkorswim Installer.app'
end
4 changes: 1 addition & 3 deletions Casks/titanium-studio.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,5 @@ class TitaniumStudio < Cask
homepage 'https://my.appcelerator.com/resources'
license :unknown

caveats do
manual_installer 'Titanium Studio.app'
end
installer :manual => 'Titanium Studio.app'
end
4 changes: 1 addition & 3 deletions Casks/utorrent.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,5 @@ class Utorrent < Cask
homepage 'http://www.utorrent.com/'
license :unknown

caveats do
manual_installer 'uTorrent-Installer.app'
end
installer :manual => 'uTorrent-Installer.app'
end
4 changes: 1 addition & 3 deletions Casks/vlc-remote.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,5 @@ class VlcRemote < Cask
homepage 'http://hobbyistsoftware.com/vlc'
license :unknown

caveats do
manual_installer 'VLC Setup.app'
end
installer :manual => 'VLC Setup.app'
end
3 changes: 2 additions & 1 deletion Casks/xamarin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ class Xamarin < Cask
homepage 'http://xamarin.com/platform'
license :unknown

installer :manual => 'Install Xamarin.app'

uninstall :delete => '/Applications/Xamarin Studio.app'
zap :delete => '~/Library/Developer/Xamarin'

caveats do
puts 'This app requires the JRE (Java Runtime Environment) to be installed'
manual_installer 'Install Xamarin.app'
end
end
4 changes: 1 addition & 3 deletions Casks/xampp.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,5 @@ class Xampp < Cask
homepage 'http://www.apachefriends.org/index.html'
license :oss

caveats do
manual_installer 'xampp-osx-1.8.3-3-installer.app'
end
installer :manual => 'xampp-osx-1.8.3-3-installer.app'
end

0 comments on commit ddf4929

Please sign in to comment.