Merge pull request #6245 from rolandwalker/mass_change_uninstall_delete

Mass Cask change to use `uninstall :delete`
This commit is contained in:
Roland Walker 2014-09-18 08:46:46 -04:00
commit 381024d5e0
135 changed files with 378 additions and 378 deletions

View File

@ -7,7 +7,7 @@ class Adium < Cask
homepage 'https://www.adium.im/'
app 'Adium.app'
zap :files => [
zap :delete => [
'~/Library/Application Support/Adium 2.0',
'~/Library/Preferences/com.adiumX.adiumX.plist',
]

View File

@ -8,5 +8,5 @@ class AdobePhotoshopLightroom < Cask
pkg 'Adobe Photoshop Lightroom 5.pkg'
uninstall :pkgutil => 'com.adobe.Lightroom5',
:quit => 'com.adobe.Lightroom5',
:files => '/Applications/Adobe Photoshop Lightroom 5.app'
:delete => '/Applications/Adobe Photoshop Lightroom 5.app'
end

View File

@ -11,7 +11,7 @@ class Atom < Cask
postflight do
system '/usr/bin/defaults', 'write', 'com.github.atom', 'moveToApplicationsFolderAlertSuppress', '-bool', 'true'
end
zap :files => [
zap :delete => [
'~/Library/Preferences/com.github.atom.plist',
'~/.atom/config.cson',
'~/.atom/init.coffee',

View File

@ -6,7 +6,7 @@ class Authbuddy < Cask
homepage 'https://www.dssw.co.uk/authbuddy'
pkg 'DssW authbuddy.pkg'
uninstall :files => '/usr/local/bin/authbuddy'
uninstall :delete => '/usr/local/bin/authbuddy'
caveats do
files_in_usr_local
end

View File

@ -7,6 +7,6 @@ class Authoxy < Cask
pkg 'Authoxy (double click me).pkg'
uninstall :pkgutil => 'net.hrsoftworks.authoxy.*',
:files => '/tmp/authoxyd.pid'
zap :files => '~/Library/Preferences/net.hrsoftworks.AuthoxyPref.plist'
:delete => '/tmp/authoxyd.pid'
zap :delete => '~/Library/Preferences/net.hrsoftworks.AuthoxyPref.plist'
end

View File

@ -6,5 +6,5 @@ class Awareness < Cask
homepage 'http://iamfutureproof.com/tools/awareness/'
app 'Awareness.app'
zap :files => '~/Library/Preferences/com.futureproof.awareness.plist'
zap :delete => '~/Library/Preferences/com.futureproof.awareness.plist'
end

View File

@ -8,5 +8,5 @@ class Baiduinput < Cask
pkg '安装百度输入法.pkg'
uninstall :pkgutil => 'com.baidu.inputmethod.*',
:files => '/Library/Input Methods/BaiduIM.app'
:delete => '/Library/Input Methods/BaiduIM.app'
end

View File

@ -12,5 +12,5 @@ class Bartender < Cask
# Don't ask to move the app bundle to /Applications
system '/usr/bin/defaults', 'write', 'com.surteesstudios.Bartender', 'moveToApplicationsFolderAlertSuppress', '-bool', 'true'
end
zap :files => '~/Library/Preferences/com.surteesstudios.Bartender.plist'
zap :delete => '~/Library/Preferences/com.surteesstudios.Bartender.plist'
end

View File

@ -7,7 +7,7 @@ class Bettertouchtool < Cask
homepage 'http://blog.boastr.net/'
app 'BetterTouchTool.app'
zap :files => [
zap :delete => [
'~/Library/Preferences/com.hegenberg.BetterTouchTool.plist',
'~/Library/Application Support/BetterTouchTool',
]

View File

@ -7,7 +7,7 @@ class Bibdesk < Cask
homepage 'http://bibdesk.sourceforge.net/'
app 'BibDesk.app'
zap :files => [
zap :delete => [
'~/Library/Preferences/edu.ucsd.cs.mmccrack.bibdesk.plist',
'~/Library/Application Support/BibDesk',
]

View File

@ -6,7 +6,7 @@ class Brackets < Cask
homepage 'http://brackets.io'
app 'Brackets.app'
zap :files => [
zap :delete => [
'~/Library/Application Support/Brackets',
'~/Library/Preferences/io.brackets.appshell.plist',
]

View File

@ -8,6 +8,6 @@ class Brytonbridge < Cask
pkg 'BrytonBridge2.pkg'
uninstall :pkgutil => 'com.brytonsport.pkg.BrytonBridge2',
:quit => 'com.yourcompany.BrytonBridge',
:files => '/Applications/BrytonBridge2'
zap :files => '~/Library/Saved Application State/com.yourcompany.BrytonBridge.savedState'
:delete => '/Applications/BrytonBridge2'
zap :delete => '~/Library/Saved Application State/com.yourcompany.BrytonBridge.savedState'
end

View File

@ -6,5 +6,5 @@ class Caffeine < Cask
homepage 'http://lightheadsw.com/caffeine/'
app 'Caffeine.app'
zap :files => '~/Library/Preferences/com.lightheadsw.Caffeine.plist'
zap :delete => '~/Library/Preferences/com.lightheadsw.Caffeine.plist'
end

View File

@ -7,7 +7,7 @@ class CarlsonMinot < Cask
pkg 'arm-2013.05-24-arm-none-linux-gnueabi.osx.intelx86.bin.pkg'
uninstall :pkgutil => 'com.carlson-minot.arm-2013.05-24-arm-none-linux-gnueabi.pkg',
:files => '/usr/local/carlson-minot'
:delete => '/usr/local/carlson-minot'
caveats do
files_in_usr_local
end

View File

@ -6,7 +6,7 @@ class Charles < Cask
homepage 'http://www.charlesproxy.com/'
app 'Charles.app'
zap :files => [
zap :delete => [
'~/Library/Application Support/Charles',
'~/Library/Preferences/com.xk72.charles.config',
]

View File

@ -7,7 +7,7 @@ class Chefdk < Cask
pkg "chefdk-#{version}.pkg"
uninstall :pkgutil => 'com.getchef.pkg.chefdk',
:files => [
:delete => [
'/opt/chefdk/',
'/usr/bin/berks',
'/usr/bin/chef',
@ -24,6 +24,6 @@ class Chefdk < Cask
'/usr/bin/rubocop',
'/usr/bin/shef',
'/usr/bin/strain',
'/usr/bin/strainer'
'/usr/bin/strainer',
]
end

View File

@ -7,5 +7,5 @@ class Chicken < Cask
homepage 'http://sourceforge.net/projects/chicken/'
app 'Chicken.app'
zap :files => '~/Library/Preferences/net.sourceforge.chicken.plist'
zap :delete => '~/Library/Preferences/net.sourceforge.chicken.plist'
end

View File

@ -7,5 +7,5 @@ class Clementine < Cask
homepage 'http://www.clementine-player.org/'
app 'clementine.app'
zap :files => '~/Library/Preferences/org.clementine-player.Clementine.plist'
zap :delete => '~/Library/Preferences/org.clementine-player.Clementine.plist'
end

View File

@ -7,7 +7,7 @@ class Clipmenu < Cask
homepage 'http://www.clipmenu.com/'
app 'ClipMenu.app'
zap :files => [
zap :delete => [
'~/Library/Application Support/ClipMenu',
'~/Library/Preferences/com.naotaka.ClipMenu.plist',
]

View File

@ -6,5 +6,5 @@ class Cloud < Cask
homepage 'http://getcloudapp.com/'
app 'Cloud.app'
zap :files => '~/Library/Preferences/com.linebreak.CloudAppMacOSX.plist'
zap :delete => '~/Library/Preferences/com.linebreak.CloudAppMacOSX.plist'
end

View File

@ -7,15 +7,15 @@ class Cocoaspell < Cask
pkg 'cocoAspell.pkg'
uninstall :pkgutil => 'net.leuski.cocoaspell.*',
:files => [
:delete => [
'/Application Support/cocoAspell/aspell6-en-6.0-0',
'/Library/PreferencePanes/Spelling.prefPane'
'/Library/PreferencePanes/Spelling.prefPane',
]
caveats <<-EOS.undent
Non-English dictionaries must be installed separately. For more information,
see http://people.ict.usc.edu/~leuski/cocoaspell/install_dict.php .
EOS
zap :files => [
zap :delete => [
'~/.aspell.conf',
'~/.aspell.en.prepl',
# Debatable. The Pws holds user-created content, though typically

View File

@ -7,7 +7,7 @@ class Coda < Cask
homepage 'https://panic.com/Coda/'
app 'Coda 2.app'
zap :files => [
zap :delete => [
'~/Library/Application Support/Coda 2',
'~/Library/Preferences/com.panic.Coda2.plist',
]

View File

@ -7,7 +7,7 @@ class Colloquy < Cask
homepage 'http://colloquy.info/'
app 'Colloquy.app'
zap :files => [
zap :delete => [
'~/Library/Preferences/info.colloquy.plist',
'~/Library/Application Support/Colloquy',
]

View File

@ -7,5 +7,5 @@ class Concentrate < Cask
homepage 'http://www.getconcentrating.com/'
app 'Concentrate.app'
zap :files => '~/Library/Application Support/Concentrate/Concentrate.sqlite3'
zap :delete => '~/Library/Application Support/Concentrate/Concentrate.sqlite3'
end

View File

@ -7,5 +7,5 @@ class Controlplane < Cask
homepage 'http://www.controlplaneapp.com/'
app 'ControlPlane.app'
zap :files => '~/Library/Preferences/com.dustinrue.ControlPlane.plist'
zap :delete => '~/Library/Preferences/com.dustinrue.ControlPlane.plist'
end

View File

@ -7,5 +7,5 @@ class Cord < Cask
homepage 'http://cord.sourceforge.net/'
app 'CoRD.app'
zap :files => '~/Library/Application Support/CoRD'
zap :delete => '~/Library/Application Support/CoRD'
end

View File

@ -9,7 +9,7 @@ class Craftstudio < Cask
uninstall :quit => 'com.sparklinlabs.CraftStudioLauncher',
:pkgutil => 'com.sparklinlabs.CraftStudioLauncher'
zap :files => '~/Library/CraftStudio'
zap :delete => '~/Library/CraftStudio'
caveats do
"Requires mono-mre. You can install this by running brew cask install mono-mre."

View File

@ -7,7 +7,7 @@ class Cyberduck < Cask
homepage 'http://cyberduck.io/'
app 'Cyberduck.app'
zap :files => [
zap :delete => [
'~/Library/Application Support/Cyberduck',
'~/Library/Preferences/ch.sudo.cyberduck.plist',
]

View File

@ -7,5 +7,5 @@ class Cycling74Max < Cask
pkg 'Max 6.1 Installer.pkg'
uninstall :pkgutil => 'com.cycling74.Max*',
:files => '/Applications/Max 6.1'
:delete => '/Applications/Max 6.1'
end

View File

@ -12,7 +12,7 @@ class Dash < Cask
# Don't ask to move the app bundle to /Applications
system '/usr/bin/defaults', 'write', 'com.kapeli.dash', 'moveToApplicationsFolderAlertSuppress', '-bool', 'true'
end
zap :files => [
zap :delete => [
'~/Library/Application Support/Dash/library.dash',
'~/Library/Preferences/com.kapeli.dash.plist',
]

View File

@ -9,7 +9,7 @@ class DefaultFolderX < Cask
caveats do
manual_installer 'Default Folder X Installer.app'
end
zap :files => [
zap :delete => [
'~/Library/Preferences/com.stclairsoft.DefaultFolderX.favorites.plist',
'~/Library/Preferences/com.stclairsoft.DefaultFolderX.plist',
'~/Library/Preferences/com.stclairsoft.DefaultFolderX.settings.plist',

View File

@ -21,7 +21,7 @@ class Displaylink < Cask
# :script => {
# :executable => 'DisplayLink Software Uninstaller.app/Contents/MacOS/DisplayLink Software Uninstaller'
# },
# :files => ['/Applications/DisplayLink Software Uninstaller.app']
# :delete => '/Applications/DisplayLink Software Uninstaller.app'
caveats <<-EOS.undent
Installing this Cask means you have AGREED to the DisplayLink
Software License Agreement at

View File

@ -7,7 +7,7 @@ class Divvy < Cask
homepage 'http://mizage.com/divvy/'
app 'Divvy.app'
zap :files => [
zap :delete => [
'~/Library/Preferences/com.mizage.direct.Divvy.plist',
'~/Library/Preferences/com.mizage.Divvy.plist',
]

View File

@ -6,7 +6,7 @@ class Dolphin < Cask
homepage 'http://www.dolphin-emu.org/'
app 'Dolphin.app'
zap :files => [
zap :delete => [
'~/Library/Application Support/Dolphin',
'~/Library/Preferences/org.dolphin-emu.dolphin.plist',
]

View File

@ -7,5 +7,5 @@ class Droplr < Cask
homepage 'https://www.droplr.com/'
app 'Droplr.app'
zap :files => '~/Library/Preferences/com.droplr.droplr-mac.plist'
zap :delete => '~/Library/Preferences/com.droplr.droplr-mac.plist'
end

View File

@ -7,5 +7,5 @@ class Eagle < Cask
pkg "eagle-#{version}.pkg"
uninstall :pkgutil => 'com.CadSoftComputerGmbH.EAGLE',
:files => "/Applications/EAGLE-#{version}"
:delete => "/Applications/EAGLE-#{version}"
end

View File

@ -7,5 +7,5 @@ class Enjoyable < Cask
homepage 'http://yukkurigames.com/enjoyable/'
app 'Enjoyable.app'
zap :files => '~/Library/Preferences/com.yukkurigames.Enjoyable.plist'
zap :delete => '~/Library/Preferences/com.yukkurigames.Enjoyable.plist'
end

View File

@ -7,7 +7,7 @@ class Expandrive < Cask
homepage 'http://www.expandrive.com/expandrive'
app 'ExpanDrive.app'
zap :files => [
zap :delete => [
'~/Library/Application Support/ExpanDrive',
'~/Preferences/com.expandrive.ExpanDrive2.plist',
'~/Preferences/com.expandrive.ExpanDrive3.plist',

View File

@ -12,5 +12,5 @@ class Fantastical < Cask
# Don't ask to move the app bundle to /Applications
system '/usr/bin/defaults', 'write', 'com.flexibits.fantastical', 'moveToApplicationsFolderAlertSuppress', '-bool', 'true'
end
zap :files => '~/Library/Preferences/com.flexibits.fantastical.plist'
zap :delete => '~/Library/Preferences/com.flexibits.fantastical.plist'
end

View File

@ -7,5 +7,5 @@ class Feeds < Cask
homepage 'http://www.feedsapp.com/'
app 'Feeds.app'
zap :files => '~/Library/Preferences/com.feedsapp.Feeds.plist'
zap :delete => '~/Library/Preferences/com.feedsapp.Feeds.plist'
end

View File

@ -7,5 +7,5 @@ class FenderFuse < Cask
pkg 'Fender FUSE Installer.app/Contents/Resources/Fender FUSE.pkg'
uninstall :pkgutil => 'com.Fender.pkg.FenderFUSE',
:files => '/Applications/Fender FUSE.app'
:delete => '/Applications/Fender FUSE.app'
end

View File

@ -7,5 +7,5 @@ class Filezilla < Cask
app 'FileZilla.app'
# todo verify that this does not contain user-generate content
# zap :files => '~/.filezilla'
# zap :delete => '~/.filezilla'
end

View File

@ -7,5 +7,5 @@ class Flash < Cask
pkg 'Install Adobe Flash Player.pkg'
uninstall :pkgutil => 'com.adobe.pkg.FlashPlayer',
:files => '/Library/Internet Plug-Ins/Flash Player.plugin'
:delete => '/Library/Internet Plug-Ins/Flash Player.plugin'
end

View File

@ -14,7 +14,7 @@ class Flavours < Cask
caskroom_only true # hack to make uninstall fire
uninstall :launchctl => 'net.interacto.flavours.helper',
:quit => 'net.interacto.Flavours',
:files => [
:delete => [
'/usr/local/bin/flavours.agent',
'/usr/local/bin/flavours.ignitor',
'/usr/local/bin/restoreui',

View File

@ -12,5 +12,5 @@ class Flux < Cask
# Don't ask to move the app bundle to /Applications
system '/usr/bin/defaults', 'write', 'org.herf.Flux', 'moveToApplicationsFolderAlertSuppress', '-bool', 'true'
end
zap :files => '~/Library/Preferences/org.herf.Flux.plist'
zap :delete => '~/Library/Preferences/org.herf.Flux.plist'
end

View File

@ -7,7 +7,7 @@ class Geektool < Cask
homepage 'http://projects.tynsoe.org/en/geektool/'
app 'GeekTool.app'
zap :files => [
zap :delete => [
'~/Library/Preferences/org.tynsoe.GeekTool.plist',
'~/Library/Preferences/org.tynsoe.geeklet.file.plist',
'~/Library/Preferences/org.tynsoe.geeklet.image.plist',

View File

@ -7,5 +7,5 @@ class Gitbox < Cask
homepage 'http://gitboxapp.com/'
app 'Gitbox.app'
zap :files => '~/Library/Preferences/com.oleganza.gitbox.plist'
zap :delete => '~/Library/Preferences/com.oleganza.gitbox.plist'
end

View File

@ -7,5 +7,5 @@ class GmailNotifr < Cask
homepage 'http://ashchan.com/projects/gmail-notifr'
app 'Gmail Notifr.app'
zap :files => '~/Library/Preferences/com.ashchan.GmailNotifr.plist'
zap :delete => '~/Library/Preferences/com.ashchan.GmailNotifr.plist'
end

View File

@ -26,7 +26,7 @@ class Gpgtools < Cask
'org.gpgtools.macgpg2.fix',
'org.gpgtools.macgpg2.updater',
],
:files => [
:delete => [
'/Applications/GPG Keychain Access.app',
'/Library/Services/GPGServices.service',
'/Library/Mail/Bundles/GPGMail.mailbundle',
@ -38,7 +38,7 @@ class Gpgtools < Cask
system '/bin/bash', '-c', '[[ "$(/usr/bin/readlink /usr/local/bin/gpg-agent)" =~ MacGPG2 ]] && /bin/rm -- /usr/local/bin/gpg-agent'
end
zap :files => [
zap :delete => [
'~/Library/Services/GPGServices.service',
'~/Library/Mail/Bundles/GPGMail.mailbundle',
'~/Library/PreferencePanes/GPGPreferences.prefPane',

View File

@ -6,5 +6,5 @@ class GrowlFork < Cask
homepage 'https://www.macupdate.com/app/mac/41038/growl-fork'
pkg 'Growl.pkg'
uninstall :files => '/Library/PreferencePanes/Growl.prefPane'
uninstall :delete => '/Library/PreferencePanes/Growl.prefPane'
end

View File

@ -7,5 +7,5 @@ class Hall < Cask
pkg 'Hall.pkg'
uninstall :pkgutil => 'com.companyline.hall.desktop',
:files => '/Applications/Hall.app'
:delete => '/Applications/Hall.app'
end

View File

@ -7,5 +7,5 @@ class HandsOff < Cask
homepage 'http://www.metakine.com/products/handsoff/'
app 'Hands Off!.app'
zap :files => '~/Library/Preferences/com.metakine.handsoff.plist'
zap :delete => '~/Library/Preferences/com.metakine.handsoff.plist'
end

View File

@ -6,7 +6,7 @@ class Hazel < Cask
homepage 'http://www.noodlesoft.com/hazel.php'
prefpane 'Hazel.prefPane'
zap :files => [
zap :delete => [
'~/Library/Application Support/Hazel',
'~/Library/Preferences/com.noodlesoft.Hazel.plist',
]

View File

@ -7,9 +7,9 @@ class HerokuToolbelt < Cask
pkg 'heroku-toolbelt.pkg'
uninstall :pkgutil => 'com.heroku.toolbelt',
:files => [
:delete => [
'/usr/local/heroku',
'/usr/bin/heroku'
'/usr/bin/heroku',
]
caveats do
files_in_usr_local

View File

@ -6,5 +6,5 @@ class Hexels < Cask
homepage 'http://hexraystudios.com/hexels/'
app 'Hexels.app'
zap :files => '~/Library/Preferences/com.hex-ray.hexels.plist'
zap :delete => '~/Library/Preferences/com.hex-ray.hexels.plist'
end

View File

@ -8,5 +8,5 @@ class Injection < Cask
pkg 'InjectionPluginV5.1.pkg'
uninstall :pkgutil => 'com.injectionforxcode.injectionPluginForXcode.InjectionPlugin.pkg',
:quit => 'com.johnholdsworth.InjectionPluginIII'
zap :files => '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/InjectionPlugin.xcplugin'
zap :delete => '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/InjectionPlugin.xcplugin'
end

View File

@ -7,5 +7,5 @@ class IphoneConfigurationUtility < Cask
pkg 'iPhoneConfigurationUtility.pkg'
# note - do not uninstall via :pkgutil, as system files would be deleted
uninstall :files => '/Applications/Utilities/iPhone Configuration Utility.app'
uninstall :delete => '/Applications/Utilities/iPhone Configuration Utility.app'
end

View File

@ -7,5 +7,5 @@ class Iterm2 < Cask
homepage 'http://www.iterm2.com/'
app 'iTerm.app'
zap :files => '~/Library/Preferences/com.googlecode.iterm2.plist'
zap :delete => '~/Library/Preferences/com.googlecode.iterm2.plist'
end

View File

@ -41,7 +41,7 @@ class Java < Cask
'com.oracle.java.Java-Updater',
'net.java.openjdk.cmd', # Java Control Panel
],
:files => [
:delete => [
'/Library/Internet Plug-Ins/JavaAppletPlugin.plugin',
"/Library/Java/JavaVirtualMachines/jdk#{version}.jdk/Contents",
'/Library/PreferencePanes/JavaControlPanel.prefPane',

View File

@ -11,7 +11,7 @@ class Karabiner < Cask
uninstall :quit => 'org.pqrs.Karabiner',
:pkgutil => 'org.pqrs.driver.Karabiner',
:kext => 'org.pqrs.driver.Karabiner'
zap :files => [
zap :delete => [
'~/Library/Preferences/org.pqrs.Karabiner.plist',
'~/Library/Preferences/org.pqrs.Karabiner-AXNotifier.plist',
'~/Library/Preferences/org.pqrs.Karabiner.multitouchextension.plist',

View File

@ -7,5 +7,5 @@ class Keka < Cask
homepage 'http://kekaosx.com/'
app 'Keka.app'
zap :files => '~/Library/Preferences/com.aone.keka.plist'
zap :delete => '~/Library/Preferences/com.aone.keka.plist'
end

View File

@ -7,5 +7,5 @@ class Keymo < Cask
homepage 'http://manytricks.com/keymo'
app 'Keymo.app'
zap :files => '~/Library/Preferences/com.manytricks.Keymo.plist'
zap :delete => '~/Library/Preferences/com.manytricks.Keymo.plist'
end

View File

@ -7,5 +7,5 @@ class Latexit < Cask
homepage 'http://www.chachatelier.fr/latexit'
app 'LaTeXiT.app'
zap :files => '~/Library/Preferences/fr.chachatelier.pierre.LaTeXiT.plist'
zap :delete => '~/Library/Preferences/fr.chachatelier.pierre.LaTeXiT.plist'
end

View File

@ -6,7 +6,7 @@ class Launchbar < Cask
homepage 'http://www.obdev.at/products/launchbar/'
app 'LaunchBar.app'
zap :files => [
zap :delete => [
'~/Library/Preferences/at.obdev.LaunchBar.plist',
'~/Library/Application Support/LaunchBar/Configuration.plist',
'~/Library/Application Support/LaunchBar/CustomShortcuts.plist',

View File

@ -7,7 +7,7 @@ class Lighttable < Cask
app 'LightTable/LightTable.app'
binary 'LightTable/light'
zap :files => [
zap :delete => [
'~/Library/Application Support/LightTable/plugins',
'~/Library/Application Support/LightTable/settings',
'~/Library/Preferences/com.kodowa.LightTable.plist',

View File

@ -14,5 +14,5 @@ class Limechat < Cask
homepage 'http://limechat.net/mac/'
app 'LimeChat.app'
zap :files => '~/Library/Preferences/net.limechat.LimeChat-AppStore.plist'
zap :delete => '~/Library/Preferences/net.limechat.LimeChat-AppStore.plist'
end

View File

@ -8,7 +8,7 @@ class LittleSnitch < Cask
caveats do
manual_installer 'Little Snitch Installer.app'
end
zap :files => [
zap :delete => [
'~/Library/Preferences/at.obdev.LittleSnitchNetworkMonitor.plist',
'~/Library/Application Support/Little Snitch/rules.usr.xpl',
'~/Library/Application Support/Little Snitch/configuration.xpl',

View File

@ -11,9 +11,9 @@ class Mactex < Cask
'org.tug.mactex.gui2014',
'org.tug.mactex.texlive2014'
],
:files => [
:delete => [
'/Applications/TeX',
'/etc/paths.d/TeX'
'/etc/paths.d/TeX',
]
caveats do
zsh_path_helper '/usr/texbin'

View File

@ -20,7 +20,7 @@ class Macvim < Cask
EOS
files_in_usr_local
end
zap :files => [
zap :delete => [
'~/Library/Preferences/org.vim.MacVim.LSSharedFileList.plist',
'~/Library/Preferences/org.vim.MacVim.plist',
]

View File

@ -6,5 +6,5 @@ class MagicLaunch < Cask
homepage 'http://www.oneperiodic.com/products/magiclaunch/'
prefpane 'Magic Launch.prefPane'
zap :files => '~/Library/Preferences/com.metakine.magic-launch.agent.plist'
zap :delete => '~/Library/Preferences/com.metakine.magic-launch.agent.plist'
end

View File

@ -9,5 +9,5 @@ class Mailfollowup < Cask
pkg 'Install MailFollowUp.pkg'
uninstall :quit => 'com.apple.mail'
zap :files => '~/Library/Mail/Bundles/MailFollowUp.mailbundle/'
zap :delete => '~/Library/Mail/Bundles/MailFollowUp.mailbundle/'
end

View File

@ -6,5 +6,5 @@ class Mailplane < Cask
homepage 'http://mailplaneapp.com'
app 'Mailplane 3.app'
zap :files => '~/Library/Preferences/com.mailplaneapp.Mailplane.plist'
zap :delete => '~/Library/Preferences/com.mailplaneapp.Mailplane.plist'
end

View File

@ -11,7 +11,7 @@ class Mamp < Cask
'/usr/sbin/chown', '-R', '--', "#{Etc.getpwuid(Process.euid).name}:staff", '/Applications/MAMP', '/Applications/MAMP PRO'
end
uninstall :pkgutil => 'de.appsolute.installer.(mamp|mampacticon|mampendinstall|mamppro).pkg',
:files => [
:delete => [
'/Applications/MAMP',
'/Applications/MAMP PRO',
]

View File

@ -6,5 +6,5 @@ class Menumeters < Cask
homepage 'http://www.ragingmenace.com/software/menumeters/'
prefpane 'MenuMeters Installer.app/Contents/Resources/MenuMeters.prefPane'
zap :files => '~/Library/Preferences/com.ragingmenace.MenuMeters.plist'
zap :delete => '~/Library/Preferences/com.ragingmenace.MenuMeters.plist'
end

View File

@ -6,5 +6,5 @@ class Mercurymover < Cask
homepage 'http://www.heliumfoot.com/mercurymover'
prefpane 'MercuryMover.prefPane'
zap :files => '~/Library/Preferences/com.heliumfoot.MyWiAgent.plist'
zap :delete => '~/Library/Preferences/com.heliumfoot.MyWiAgent.plist'
end

View File

@ -7,7 +7,7 @@ class Moom < Cask
homepage 'http://manytricks.com/moom/'
app 'Moom.app'
zap :files => [
zap :delete => [
'~/Library/Preferences/com.manytricks.Moom.plist',
'~/Library/Application Support/Many Tricks',
]

View File

@ -7,7 +7,7 @@ class Mou < Cask
homepage 'http://mouapp.com/'
app 'Mou.app'
zap :files => [
zap :delete => [
'~/Library/Preferences/com.mouapp.Mou.plist',
'~/Library/Preferences/com.mouapp.Mou.LSSharedFileList.plist',
'~/Library/Application Support/Mou',

View File

@ -10,7 +10,7 @@ class Mpv < Cask
caveats do
files_in_usr_local
end
zap :files => [
zap :delete => [
'~/.mpv/channels.conf',
'~/.mpv/config',
'~/.mpv/input.conf',

View File

@ -6,5 +6,5 @@ class NetbeansCpp < Cask
homepage 'https://netbeans.org/'
pkg "NetBeans #{version}.mpkg"
uninstall :files => '/Applications/NetBeans'
uninstall :delete => '/Applications/NetBeans'
end

View File

@ -6,5 +6,5 @@ class NetbeansPhp < Cask
homepage 'https://netbeans.org/'
pkg "NetBeans #{version}.mpkg"
uninstall :files => '/Applications/NetBeans'
uninstall :delete => '/Applications/NetBeans'
end

View File

@ -24,7 +24,7 @@ class Netbeans < Cask
#
# The NetBeans installer does some postflight unpacking of paths installed by
# the OS X installer, so it's insufficient to just delete the paths exposed
# by pkgutil, hence the additional `:files` option below.
# by pkgutil, hence the additional `:delete` option below.
uninstall :pkgutil => 'org.netbeans.ide.*|glassfish-.*',
:files => '/Applications/NetBeans'
:delete => '/Applications/NetBeans'
end

View File

@ -8,5 +8,5 @@ class Ngrok < Cask
binary 'ngrok'
# todo verify that this does not contain user-created content
# zap :files => '~/.ngrok'
# zap :delete => '~/.ngrok'
end

View File

@ -7,7 +7,7 @@ class Nomachine < Cask
pkg 'NoMachine.pkg'
# a launchctl job ordinarily manages uninstall once the app bundle is removed
uninstall :files => '/Applications/NoMachine.app'
uninstall :delete => '/Applications/NoMachine.app'
# however, we duplicate the uninstall process manually in the zap stanza just in case
zap :early_script => {
:executable => '/bin/rm',

View File

@ -6,9 +6,9 @@ class NtfsFree < Cask
homepage 'http://sourceforge.net/projects/ntfsfree/'
pkg 'NTFS-free-10.8.2.pkg'
uninstall :files => [
uninstall :delete => [
'/System/Library/Extensions/ntfs-free.kext',
'/sbin/mount_ntfs-free',
'/System/Library/Filesystems/ntfs-free.fs'
'/System/Library/Filesystems/ntfs-free.fs',
]
end

View File

@ -6,7 +6,7 @@ class Nvalt < Cask
homepage 'http://brettterpstra.com/project/nvalt/'
app 'nvALT.app'
zap :files => [
zap :delete => [
'~/Library/Preferences/net.elasticthreads.nv.plist',
'~/Library/Application Support/Notational Velocity',
]

View File

@ -11,5 +11,5 @@ class Octave < Cask
'org.octave.cli-app',
'org.octave.gui-app',
],
:files => '/usr/local/octave/3.8.0'
:delete => '/usr/local/octave/3.8.0'
end

View File

@ -6,7 +6,7 @@ class Omnifocus < Cask
homepage 'http://www.omnigroup.com/products/omnifocus/'
app 'OmniFocus.app'
zap :files => [
zap :delete => [
'~/Library/Application Support/OmniFocus/Plug-Ins',
'~/Library/Application Support/OmniFocus/Themes',
'~/Library/Preferences/com.omnigroup.OmniFocus.plist',

View File

@ -6,5 +6,5 @@ class Omnigraffle < Cask
homepage 'http://www.omnigroup.com/products/omnigraffle'
app 'OmniGraffle.app'
zap :files => '~/Library/Application Support/The Omni Group/OmniGraffle'
zap :delete => '~/Library/Application Support/The Omni Group/OmniGraffle'
end

View File

@ -7,5 +7,5 @@ class Pagico < Cask
pkg 'Install Pagico 6.pkg'
uninstall :pkgutil => 'com.pagico.*',
:files => '/Applications/Pagico'
:delete => '/Applications/Pagico'
end

View File

@ -11,7 +11,7 @@ class PathFinder < Cask
# Don't ask to move the app bundle to /Applications
system '/usr/bin/defaults', 'write', 'com.cocoatech.PathFinder', 'kNTMoveToApplicationsFolderAlertSuppress', '-bool', 'true'
end
zap :files => [
zap :delete => [
'~/Library/Preferences/com.cocoatech.PathFinder.plist',
'~/Library/Application Support/Path Finder',
]

View File

@ -6,7 +6,7 @@ class Pokerstars < Cask
homepage 'http://www.pokerstars.com/'
app 'PokerStars.app'
zap :files => [
zap :delete => [
'~/Library/Preferences/com.pokerstars.user.ini',
'~/Library/Preferences/com.pokerstars.PokerStars.plist',
]

View File

@ -12,6 +12,6 @@ class PrivateInternetAccess < Cask
'/usr/sbin/chown', '-R', '--', "#{Etc.getpwuid(Process.euid).name}:staff", ENV['HOME'] + '/.pia_manager'
end
uninstall :files => '/Applications/Private Internet Access.app'
zap :files => '~/.pia_manager'
uninstall :delete => '/Applications/Private Internet Access.app'
zap :delete => '~/.pia_manager'
end

View File

@ -6,5 +6,5 @@ class Processing < Cask
homepage 'http://processing.org/'
app 'Processing.app'
zap :files => '~/Library/Processing/preferences.txt'
zap :delete => '~/Library/Processing/preferences.txt'
end

View File

@ -7,12 +7,12 @@ class ProgrammerDvorak < Cask
pkg 'Programmer Dvorak v1.2.pkg'
uninstall :pkgutil => 'com.apple.keyboardlayout.Programmer Dvorak',
:files => [
:delete => [
'/Library/Keyboard Layouts/Programmer Dvorak.bundle/',
# note: these will not work because the glob will not be expanded
'/Library/Caches/com.apple.IntlDataCache*',
'/System/Library/Caches/com.apple.IntlDataCache.le*',
'/private/var/folders/*/*/-Caches-/com.apple.IntlDataCache.le*'
'/private/var/folders/*/*/-Caches-/com.apple.IntlDataCache.le*',
]
if MacOS.version >= :mavericks
postflight do

View File

@ -6,7 +6,7 @@ class Quicksilver < Cask
homepage 'http://qsapp.com/'
app 'Quicksilver.app'
zap :files => [
zap :delete => [
'~/Library/Preferences/com.blacktree.Quicksilver.plist',
'~/Library/Application Support/Quicksilver',
]

View File

@ -17,7 +17,7 @@ class R < Cask
# eg org.r-project.x86_64.tcltk.x11
'org.r-project\..*\.tcltk.x11',
],
:files => [
:delete => [
# symlinks
'/usr/bin/R',
'/usr/bin/Rscript',
@ -26,7 +26,7 @@ class R < Cask
# /Library/Frameworks/R.Framework/Versions/3.1/Resources/fontconfig/cache
'/Library/Frameworks/R.Framework/Versions/3.1',
]
zap :files => [
zap :delete => [
'~/.R',
'~/.Rhistory',
'~/.Rprofile',

View File

@ -7,5 +7,5 @@ class Rekordbox < Cask
pkg 'Install_rekordbox_3_0_1.pkg'
uninstall :pkgutil => 'com.pioneer.rekordbox.3.*',
:files => '/Applications/rekordbox 3/'
:delete => '/Applications/rekordbox 3/'
end

View File

@ -10,7 +10,7 @@ class Rubymine < Cask
postflight do
system "/usr/libexec/PlistBuddy", "-c", "Set :JVMOptions:JVMVersion 1.6+", "#{destination_path}/RubyMine.app/Contents/Info.plist"
end
zap :files => [
zap :delete => [
'~/Library/Application Support/RubyMine40',
'~/Library/Preferences/RubyMine40',
'~/Library/Application Support/RubyMine50',

View File

@ -6,7 +6,7 @@ class Sabnzbd < Cask
homepage 'http://sabnzbd.org/'
app '10.8 (M-Lion) 10.9 (Mavericks)/SABnzbd.app'
zap :files => [
zap :delete => [
'~/Library/Application Support/SABnzbd/sabnzbd.ini',
'~/Library/Application Support/SABnzbd/admin/rss_data.sab',
]

View File

@ -9,7 +9,7 @@ class Seil < Cask
uninstall :quit => 'org.pqrs.Seil',
:kext => 'org.pqrs.driver.Seil',
:pkgutil => 'org.pqrs.driver.Seil'
zap :files => [
zap :delete => [
'~/Library/Preferences/org.pqrs.PCKeyboardHack.plist',
'~/Library/Preferences/org.pqrs.Seil.plist',
]

Some files were not shown because too many files have changed in this diff Show More