Merge pull request #6245 from rolandwalker/mass_change_uninstall_delete
Mass Cask change to use `uninstall :delete`
This commit is contained in:
commit
381024d5e0
|
@ -7,8 +7,8 @@ class Adium < Cask
|
|||
homepage 'https://www.adium.im/'
|
||||
|
||||
app 'Adium.app'
|
||||
zap :files => [
|
||||
'~/Library/Application Support/Adium 2.0',
|
||||
'~/Library/Preferences/com.adiumX.adiumX.plist',
|
||||
]
|
||||
zap :delete => [
|
||||
'~/Library/Application Support/Adium 2.0',
|
||||
'~/Library/Preferences/com.adiumX.adiumX.plist',
|
||||
]
|
||||
end
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -11,14 +11,14 @@ class Atom < Cask
|
|||
postflight do
|
||||
system '/usr/bin/defaults', 'write', 'com.github.atom', 'moveToApplicationsFolderAlertSuppress', '-bool', 'true'
|
||||
end
|
||||
zap :files => [
|
||||
'~/Library/Preferences/com.github.atom.plist',
|
||||
'~/.atom/config.cson',
|
||||
'~/.atom/init.coffee',
|
||||
'~/.atom/keymap.cson',
|
||||
'~/.atom/keymaps',
|
||||
'~/.atom/packages',
|
||||
'~/.atom/snippets.cson',
|
||||
'~/.atom/styles.less',
|
||||
]
|
||||
zap :delete => [
|
||||
'~/Library/Preferences/com.github.atom.plist',
|
||||
'~/.atom/config.cson',
|
||||
'~/.atom/init.coffee',
|
||||
'~/.atom/keymap.cson',
|
||||
'~/.atom/keymaps',
|
||||
'~/.atom/packages',
|
||||
'~/.atom/snippets.cson',
|
||||
'~/.atom/styles.less',
|
||||
]
|
||||
end
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -7,8 +7,8 @@ class Bettertouchtool < Cask
|
|||
homepage 'http://blog.boastr.net/'
|
||||
|
||||
app 'BetterTouchTool.app'
|
||||
zap :files => [
|
||||
'~/Library/Preferences/com.hegenberg.BetterTouchTool.plist',
|
||||
'~/Library/Application Support/BetterTouchTool',
|
||||
]
|
||||
zap :delete => [
|
||||
'~/Library/Preferences/com.hegenberg.BetterTouchTool.plist',
|
||||
'~/Library/Application Support/BetterTouchTool',
|
||||
]
|
||||
end
|
||||
|
|
|
@ -7,8 +7,8 @@ class Bibdesk < Cask
|
|||
homepage 'http://bibdesk.sourceforge.net/'
|
||||
|
||||
app 'BibDesk.app'
|
||||
zap :files => [
|
||||
'~/Library/Preferences/edu.ucsd.cs.mmccrack.bibdesk.plist',
|
||||
'~/Library/Application Support/BibDesk',
|
||||
]
|
||||
zap :delete => [
|
||||
'~/Library/Preferences/edu.ucsd.cs.mmccrack.bibdesk.plist',
|
||||
'~/Library/Application Support/BibDesk',
|
||||
]
|
||||
end
|
||||
|
|
|
@ -6,8 +6,8 @@ class Brackets < Cask
|
|||
homepage 'http://brackets.io'
|
||||
|
||||
app 'Brackets.app'
|
||||
zap :files => [
|
||||
'~/Library/Application Support/Brackets',
|
||||
'~/Library/Preferences/io.brackets.appshell.plist',
|
||||
]
|
||||
zap :delete => [
|
||||
'~/Library/Application Support/Brackets',
|
||||
'~/Library/Preferences/io.brackets.appshell.plist',
|
||||
]
|
||||
end
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -6,8 +6,8 @@ class Charles < Cask
|
|||
homepage 'http://www.charlesproxy.com/'
|
||||
|
||||
app 'Charles.app'
|
||||
zap :files => [
|
||||
'~/Library/Application Support/Charles',
|
||||
'~/Library/Preferences/com.xk72.charles.config',
|
||||
]
|
||||
zap :delete => [
|
||||
'~/Library/Application Support/Charles',
|
||||
'~/Library/Preferences/com.xk72.charles.config',
|
||||
]
|
||||
end
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -7,8 +7,8 @@ class Clipmenu < Cask
|
|||
homepage 'http://www.clipmenu.com/'
|
||||
|
||||
app 'ClipMenu.app'
|
||||
zap :files => [
|
||||
'~/Library/Application Support/ClipMenu',
|
||||
'~/Library/Preferences/com.naotaka.ClipMenu.plist',
|
||||
]
|
||||
zap :delete => [
|
||||
'~/Library/Application Support/ClipMenu',
|
||||
'~/Library/Preferences/com.naotaka.ClipMenu.plist',
|
||||
]
|
||||
end
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -7,8 +7,8 @@ class Coda < Cask
|
|||
homepage 'https://panic.com/Coda/'
|
||||
|
||||
app 'Coda 2.app'
|
||||
zap :files => [
|
||||
'~/Library/Application Support/Coda 2',
|
||||
'~/Library/Preferences/com.panic.Coda2.plist',
|
||||
]
|
||||
zap :delete => [
|
||||
'~/Library/Application Support/Coda 2',
|
||||
'~/Library/Preferences/com.panic.Coda2.plist',
|
||||
]
|
||||
end
|
||||
|
|
|
@ -7,8 +7,8 @@ class Colloquy < Cask
|
|||
homepage 'http://colloquy.info/'
|
||||
|
||||
app 'Colloquy.app'
|
||||
zap :files => [
|
||||
'~/Library/Preferences/info.colloquy.plist',
|
||||
'~/Library/Application Support/Colloquy',
|
||||
]
|
||||
zap :delete => [
|
||||
'~/Library/Preferences/info.colloquy.plist',
|
||||
'~/Library/Application Support/Colloquy',
|
||||
]
|
||||
end
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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."
|
||||
|
|
|
@ -7,8 +7,8 @@ class Cyberduck < Cask
|
|||
homepage 'http://cyberduck.io/'
|
||||
|
||||
app 'Cyberduck.app'
|
||||
zap :files => [
|
||||
'~/Library/Application Support/Cyberduck',
|
||||
'~/Library/Preferences/ch.sudo.cyberduck.plist',
|
||||
]
|
||||
zap :delete => [
|
||||
'~/Library/Application Support/Cyberduck',
|
||||
'~/Library/Preferences/ch.sudo.cyberduck.plist',
|
||||
]
|
||||
end
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -12,8 +12,8 @@ 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 => [
|
||||
'~/Library/Application Support/Dash/library.dash',
|
||||
'~/Library/Preferences/com.kapeli.dash.plist',
|
||||
]
|
||||
zap :delete => [
|
||||
'~/Library/Application Support/Dash/library.dash',
|
||||
'~/Library/Preferences/com.kapeli.dash.plist',
|
||||
]
|
||||
end
|
||||
|
|
|
@ -9,9 +9,9 @@ class DefaultFolderX < Cask
|
|||
caveats do
|
||||
manual_installer 'Default Folder X Installer.app'
|
||||
end
|
||||
zap :files => [
|
||||
'~/Library/Preferences/com.stclairsoft.DefaultFolderX.favorites.plist',
|
||||
'~/Library/Preferences/com.stclairsoft.DefaultFolderX.plist',
|
||||
'~/Library/Preferences/com.stclairsoft.DefaultFolderX.settings.plist',
|
||||
]
|
||||
zap :delete => [
|
||||
'~/Library/Preferences/com.stclairsoft.DefaultFolderX.favorites.plist',
|
||||
'~/Library/Preferences/com.stclairsoft.DefaultFolderX.plist',
|
||||
'~/Library/Preferences/com.stclairsoft.DefaultFolderX.settings.plist',
|
||||
]
|
||||
end
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -7,8 +7,8 @@ class Divvy < Cask
|
|||
homepage 'http://mizage.com/divvy/'
|
||||
|
||||
app 'Divvy.app'
|
||||
zap :files => [
|
||||
'~/Library/Preferences/com.mizage.direct.Divvy.plist',
|
||||
'~/Library/Preferences/com.mizage.Divvy.plist',
|
||||
]
|
||||
zap :delete => [
|
||||
'~/Library/Preferences/com.mizage.direct.Divvy.plist',
|
||||
'~/Library/Preferences/com.mizage.Divvy.plist',
|
||||
]
|
||||
end
|
||||
|
|
|
@ -6,8 +6,8 @@ class Dolphin < Cask
|
|||
homepage 'http://www.dolphin-emu.org/'
|
||||
|
||||
app 'Dolphin.app'
|
||||
zap :files => [
|
||||
'~/Library/Application Support/Dolphin',
|
||||
'~/Library/Preferences/org.dolphin-emu.dolphin.plist',
|
||||
]
|
||||
zap :delete => [
|
||||
'~/Library/Application Support/Dolphin',
|
||||
'~/Library/Preferences/org.dolphin-emu.dolphin.plist',
|
||||
]
|
||||
end
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -7,9 +7,9 @@ class Expandrive < Cask
|
|||
homepage 'http://www.expandrive.com/expandrive'
|
||||
|
||||
app 'ExpanDrive.app'
|
||||
zap :files => [
|
||||
'~/Library/Application Support/ExpanDrive',
|
||||
'~/Preferences/com.expandrive.ExpanDrive2.plist',
|
||||
'~/Preferences/com.expandrive.ExpanDrive3.plist',
|
||||
]
|
||||
zap :delete => [
|
||||
'~/Library/Application Support/ExpanDrive',
|
||||
'~/Preferences/com.expandrive.ExpanDrive2.plist',
|
||||
'~/Preferences/com.expandrive.ExpanDrive3.plist',
|
||||
]
|
||||
end
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -14,11 +14,11 @@ class Flavours < Cask
|
|||
caskroom_only true # hack to make uninstall fire
|
||||
uninstall :launchctl => 'net.interacto.flavours.helper',
|
||||
:quit => 'net.interacto.Flavours',
|
||||
:files => [
|
||||
'/usr/local/bin/flavours.agent',
|
||||
'/usr/local/bin/flavours.ignitor',
|
||||
'/usr/local/bin/restoreui',
|
||||
'/usr/local/lib/libflavours.dylib',
|
||||
'/usr/local/lib/libflavoursui.dylib',
|
||||
]
|
||||
:delete => [
|
||||
'/usr/local/bin/flavours.agent',
|
||||
'/usr/local/bin/flavours.ignitor',
|
||||
'/usr/local/bin/restoreui',
|
||||
'/usr/local/lib/libflavours.dylib',
|
||||
'/usr/local/lib/libflavoursui.dylib',
|
||||
]
|
||||
end
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -7,11 +7,11 @@ class Geektool < Cask
|
|||
homepage 'http://projects.tynsoe.org/en/geektool/'
|
||||
|
||||
app 'GeekTool.app'
|
||||
zap :files => [
|
||||
'~/Library/Preferences/org.tynsoe.GeekTool.plist',
|
||||
'~/Library/Preferences/org.tynsoe.geeklet.file.plist',
|
||||
'~/Library/Preferences/org.tynsoe.geeklet.image.plist',
|
||||
'~/Library/Preferences/org.tynsoe.geeklet.shell.plist',
|
||||
'~/Library/Preferences/org.tynsoe.geektool3.plist',
|
||||
]
|
||||
zap :delete => [
|
||||
'~/Library/Preferences/org.tynsoe.GeekTool.plist',
|
||||
'~/Library/Preferences/org.tynsoe.geeklet.file.plist',
|
||||
'~/Library/Preferences/org.tynsoe.geeklet.image.plist',
|
||||
'~/Library/Preferences/org.tynsoe.geeklet.shell.plist',
|
||||
'~/Library/Preferences/org.tynsoe.geektool3.plist',
|
||||
]
|
||||
end
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -26,19 +26,19 @@ class Gpgtools < Cask
|
|||
'org.gpgtools.macgpg2.fix',
|
||||
'org.gpgtools.macgpg2.updater',
|
||||
],
|
||||
:files => [
|
||||
'/Applications/GPG Keychain Access.app',
|
||||
'/Library/Services/GPGServices.service',
|
||||
'/Library/Mail/Bundles/GPGMail.mailbundle',
|
||||
'/Library/PreferencePanes/GPGPreferences.prefPane',
|
||||
]
|
||||
:delete => [
|
||||
'/Applications/GPG Keychain Access.app',
|
||||
'/Library/Services/GPGServices.service',
|
||||
'/Library/Mail/Bundles/GPGMail.mailbundle',
|
||||
'/Library/PreferencePanes/GPGPreferences.prefPane',
|
||||
]
|
||||
uninstall_postflight do
|
||||
system '/bin/bash', '-c', '[[ "$(/usr/bin/readlink /usr/local/bin/gpg2)" =~ MacGPG2 ]] && /bin/rm -- /usr/local/bin/gpg2'
|
||||
system '/bin/bash', '-c', '[[ "$(/usr/bin/readlink /usr/local/bin/gpg)" =~ MacGPG2 ]] && /bin/rm -- /usr/local/bin/gpg'
|
||||
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',
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -6,8 +6,8 @@ class Hazel < Cask
|
|||
homepage 'http://www.noodlesoft.com/hazel.php'
|
||||
|
||||
prefpane 'Hazel.prefPane'
|
||||
zap :files => [
|
||||
'~/Library/Application Support/Hazel',
|
||||
'~/Library/Preferences/com.noodlesoft.Hazel.plist',
|
||||
]
|
||||
zap :delete => [
|
||||
'~/Library/Application Support/Hazel',
|
||||
'~/Library/Preferences/com.noodlesoft.Hazel.plist',
|
||||
]
|
||||
end
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -41,14 +41,14 @@ class Java < Cask
|
|||
'com.oracle.java.Java-Updater',
|
||||
'net.java.openjdk.cmd', # Java Control Panel
|
||||
],
|
||||
:files => [
|
||||
'/Library/Internet Plug-Ins/JavaAppletPlugin.plugin',
|
||||
"/Library/Java/JavaVirtualMachines/jdk#{version}.jdk/Contents",
|
||||
'/Library/PreferencePanes/JavaControlPanel.prefPane',
|
||||
'/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK',
|
||||
'/Library/Java/Home',
|
||||
'/usr/lib/java/libjdns_sd.jnilib',
|
||||
]
|
||||
:delete => [
|
||||
'/Library/Internet Plug-Ins/JavaAppletPlugin.plugin',
|
||||
"/Library/Java/JavaVirtualMachines/jdk#{version}.jdk/Contents",
|
||||
'/Library/PreferencePanes/JavaControlPanel.prefPane',
|
||||
'/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK',
|
||||
'/Library/Java/Home',
|
||||
'/usr/lib/java/libjdns_sd.jnilib',
|
||||
]
|
||||
caveats <<-EOS.undent
|
||||
This Cask makes minor modifications to the JRE to prevent issues with
|
||||
packaged applications, as discussed here:
|
||||
|
|
|
@ -11,11 +11,11 @@ class Karabiner < Cask
|
|||
uninstall :quit => 'org.pqrs.Karabiner',
|
||||
:pkgutil => 'org.pqrs.driver.Karabiner',
|
||||
:kext => 'org.pqrs.driver.Karabiner'
|
||||
zap :files => [
|
||||
'~/Library/Preferences/org.pqrs.Karabiner.plist',
|
||||
'~/Library/Preferences/org.pqrs.Karabiner-AXNotifier.plist',
|
||||
'~/Library/Preferences/org.pqrs.Karabiner.multitouchextension.plist',
|
||||
]
|
||||
zap :delete => [
|
||||
'~/Library/Preferences/org.pqrs.Karabiner.plist',
|
||||
'~/Library/Preferences/org.pqrs.Karabiner-AXNotifier.plist',
|
||||
'~/Library/Preferences/org.pqrs.Karabiner.multitouchextension.plist',
|
||||
]
|
||||
# todo :rmdir not yet supported
|
||||
# :rmdir '~/Library/Application Support/Karabiner'
|
||||
end
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -6,12 +6,12 @@ class Launchbar < Cask
|
|||
homepage 'http://www.obdev.at/products/launchbar/'
|
||||
|
||||
app 'LaunchBar.app'
|
||||
zap :files => [
|
||||
'~/Library/Preferences/at.obdev.LaunchBar.plist',
|
||||
'~/Library/Application Support/LaunchBar/Configuration.plist',
|
||||
'~/Library/Application Support/LaunchBar/CustomShortcuts.plist',
|
||||
# todo unsure if these contain user-created content
|
||||
# '~/Library/Application Support/LaunchBar/Actions',
|
||||
# '~/Library/Application Support/LaunchBar/Snippets',
|
||||
]
|
||||
zap :delete => [
|
||||
'~/Library/Preferences/at.obdev.LaunchBar.plist',
|
||||
'~/Library/Application Support/LaunchBar/Configuration.plist',
|
||||
'~/Library/Application Support/LaunchBar/CustomShortcuts.plist',
|
||||
# todo unsure if these contain user-created content
|
||||
# '~/Library/Application Support/LaunchBar/Actions',
|
||||
# '~/Library/Application Support/LaunchBar/Snippets',
|
||||
]
|
||||
end
|
||||
|
|
|
@ -7,9 +7,9 @@ class Lighttable < Cask
|
|||
|
||||
app 'LightTable/LightTable.app'
|
||||
binary 'LightTable/light'
|
||||
zap :files => [
|
||||
'~/Library/Application Support/LightTable/plugins',
|
||||
'~/Library/Application Support/LightTable/settings',
|
||||
'~/Library/Preferences/com.kodowa.LightTable.plist',
|
||||
]
|
||||
zap :delete => [
|
||||
'~/Library/Application Support/LightTable/plugins',
|
||||
'~/Library/Application Support/LightTable/settings',
|
||||
'~/Library/Preferences/com.kodowa.LightTable.plist',
|
||||
]
|
||||
end
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -8,10 +8,10 @@ class LittleSnitch < Cask
|
|||
caveats do
|
||||
manual_installer 'Little Snitch Installer.app'
|
||||
end
|
||||
zap :files => [
|
||||
'~/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',
|
||||
]
|
||||
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',
|
||||
]
|
||||
end
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -20,8 +20,8 @@ class Macvim < Cask
|
|||
EOS
|
||||
files_in_usr_local
|
||||
end
|
||||
zap :files => [
|
||||
'~/Library/Preferences/org.vim.MacVim.LSSharedFileList.plist',
|
||||
'~/Library/Preferences/org.vim.MacVim.plist',
|
||||
]
|
||||
zap :delete => [
|
||||
'~/Library/Preferences/org.vim.MacVim.LSSharedFileList.plist',
|
||||
'~/Library/Preferences/org.vim.MacVim.plist',
|
||||
]
|
||||
end
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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',
|
||||
]
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -7,8 +7,8 @@ class Moom < Cask
|
|||
homepage 'http://manytricks.com/moom/'
|
||||
|
||||
app 'Moom.app'
|
||||
zap :files => [
|
||||
'~/Library/Preferences/com.manytricks.Moom.plist',
|
||||
'~/Library/Application Support/Many Tricks',
|
||||
]
|
||||
zap :delete => [
|
||||
'~/Library/Preferences/com.manytricks.Moom.plist',
|
||||
'~/Library/Application Support/Many Tricks',
|
||||
]
|
||||
end
|
||||
|
|
10
Casks/mou.rb
10
Casks/mou.rb
|
@ -7,9 +7,9 @@ class Mou < Cask
|
|||
homepage 'http://mouapp.com/'
|
||||
|
||||
app 'Mou.app'
|
||||
zap :files => [
|
||||
'~/Library/Preferences/com.mouapp.Mou.plist',
|
||||
'~/Library/Preferences/com.mouapp.Mou.LSSharedFileList.plist',
|
||||
'~/Library/Application Support/Mou',
|
||||
]
|
||||
zap :delete => [
|
||||
'~/Library/Preferences/com.mouapp.Mou.plist',
|
||||
'~/Library/Preferences/com.mouapp.Mou.LSSharedFileList.plist',
|
||||
'~/Library/Application Support/Mou',
|
||||
]
|
||||
end
|
||||
|
|
10
Casks/mpv.rb
10
Casks/mpv.rb
|
@ -10,11 +10,11 @@ class Mpv < Cask
|
|||
caveats do
|
||||
files_in_usr_local
|
||||
end
|
||||
zap :files => [
|
||||
'~/.mpv/channels.conf',
|
||||
'~/.mpv/config',
|
||||
'~/.mpv/input.conf',
|
||||
]
|
||||
zap :delete => [
|
||||
'~/.mpv/channels.conf',
|
||||
'~/.mpv/config',
|
||||
'~/.mpv/input.conf',
|
||||
]
|
||||
# todo :rmdir is not yet supported
|
||||
# :rmdir '~/.mpv'
|
||||
end
|
||||
|
|
|
@ -6,5 +6,5 @@ class NetbeansCpp < Cask
|
|||
homepage 'https://netbeans.org/'
|
||||
|
||||
pkg "NetBeans #{version}.mpkg"
|
||||
uninstall :files => '/Applications/NetBeans'
|
||||
uninstall :delete => '/Applications/NetBeans'
|
||||
end
|
||||
|
|
|
@ -6,5 +6,5 @@ class NetbeansPhp < Cask
|
|||
homepage 'https://netbeans.org/'
|
||||
|
||||
pkg "NetBeans #{version}.mpkg"
|
||||
uninstall :files => '/Applications/NetBeans'
|
||||
uninstall :delete => '/Applications/NetBeans'
|
||||
end
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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',
|
||||
|
|
|
@ -6,9 +6,9 @@ class NtfsFree < Cask
|
|||
homepage 'http://sourceforge.net/projects/ntfsfree/'
|
||||
|
||||
pkg 'NTFS-free-10.8.2.pkg'
|
||||
uninstall :files => [
|
||||
'/System/Library/Extensions/ntfs-free.kext',
|
||||
'/sbin/mount_ntfs-free',
|
||||
'/System/Library/Filesystems/ntfs-free.fs'
|
||||
]
|
||||
uninstall :delete => [
|
||||
'/System/Library/Extensions/ntfs-free.kext',
|
||||
'/sbin/mount_ntfs-free',
|
||||
'/System/Library/Filesystems/ntfs-free.fs',
|
||||
]
|
||||
end
|
||||
|
|
|
@ -6,8 +6,8 @@ class Nvalt < Cask
|
|||
homepage 'http://brettterpstra.com/project/nvalt/'
|
||||
|
||||
app 'nvALT.app'
|
||||
zap :files => [
|
||||
'~/Library/Preferences/net.elasticthreads.nv.plist',
|
||||
'~/Library/Application Support/Notational Velocity',
|
||||
]
|
||||
zap :delete => [
|
||||
'~/Library/Preferences/net.elasticthreads.nv.plist',
|
||||
'~/Library/Application Support/Notational Velocity',
|
||||
]
|
||||
end
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -6,9 +6,9 @@ class Omnifocus < Cask
|
|||
homepage 'http://www.omnigroup.com/products/omnifocus/'
|
||||
|
||||
app 'OmniFocus.app'
|
||||
zap :files => [
|
||||
'~/Library/Application Support/OmniFocus/Plug-Ins',
|
||||
'~/Library/Application Support/OmniFocus/Themes',
|
||||
'~/Library/Preferences/com.omnigroup.OmniFocus.plist',
|
||||
]
|
||||
zap :delete => [
|
||||
'~/Library/Application Support/OmniFocus/Plug-Ins',
|
||||
'~/Library/Application Support/OmniFocus/Themes',
|
||||
'~/Library/Preferences/com.omnigroup.OmniFocus.plist',
|
||||
]
|
||||
end
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -7,5 +7,5 @@ class Pagico < Cask
|
|||
|
||||
pkg 'Install Pagico 6.pkg'
|
||||
uninstall :pkgutil => 'com.pagico.*',
|
||||
:files => '/Applications/Pagico'
|
||||
:delete => '/Applications/Pagico'
|
||||
end
|
||||
|
|
|
@ -11,8 +11,8 @@ 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 => [
|
||||
'~/Library/Preferences/com.cocoatech.PathFinder.plist',
|
||||
'~/Library/Application Support/Path Finder',
|
||||
]
|
||||
zap :delete => [
|
||||
'~/Library/Preferences/com.cocoatech.PathFinder.plist',
|
||||
'~/Library/Application Support/Path Finder',
|
||||
]
|
||||
end
|
||||
|
|
|
@ -6,8 +6,8 @@ class Pokerstars < Cask
|
|||
homepage 'http://www.pokerstars.com/'
|
||||
|
||||
app 'PokerStars.app'
|
||||
zap :files => [
|
||||
'~/Library/Preferences/com.pokerstars.user.ini',
|
||||
'~/Library/Preferences/com.pokerstars.PokerStars.plist',
|
||||
]
|
||||
zap :delete => [
|
||||
'~/Library/Preferences/com.pokerstars.user.ini',
|
||||
'~/Library/Preferences/com.pokerstars.PokerStars.plist',
|
||||
]
|
||||
end
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -7,13 +7,13 @@ 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
|
||||
# clear the layout cache before new layouts are recognized
|
||||
|
|
|
@ -6,8 +6,8 @@ class Quicksilver < Cask
|
|||
homepage 'http://qsapp.com/'
|
||||
|
||||
app 'Quicksilver.app'
|
||||
zap :files => [
|
||||
'~/Library/Preferences/com.blacktree.Quicksilver.plist',
|
||||
'~/Library/Application Support/Quicksilver',
|
||||
]
|
||||
zap :delete => [
|
||||
'~/Library/Preferences/com.blacktree.Quicksilver.plist',
|
||||
'~/Library/Application Support/Quicksilver',
|
||||
]
|
||||
end
|
||||
|
|
28
Casks/r.rb
28
Casks/r.rb
|
@ -17,18 +17,18 @@ class R < Cask
|
|||
# eg org.r-project.x86_64.tcltk.x11
|
||||
'org.r-project\..*\.tcltk.x11',
|
||||
],
|
||||
:files => [
|
||||
# symlinks
|
||||
'/usr/bin/R',
|
||||
'/usr/bin/Rscript',
|
||||
'/Library/Frameworks/R.Framework/Versions/Current',
|
||||
# :pkgutil won't delete this dir if the fontconfig cache was written to at
|
||||
# /Library/Frameworks/R.Framework/Versions/3.1/Resources/fontconfig/cache
|
||||
'/Library/Frameworks/R.Framework/Versions/3.1',
|
||||
]
|
||||
zap :files => [
|
||||
'~/.R',
|
||||
'~/.Rhistory',
|
||||
'~/.Rprofile',
|
||||
]
|
||||
:delete => [
|
||||
# symlinks
|
||||
'/usr/bin/R',
|
||||
'/usr/bin/Rscript',
|
||||
'/Library/Frameworks/R.Framework/Versions/Current',
|
||||
# :pkgutil won't delete this dir if the fontconfig cache was written to at
|
||||
# /Library/Frameworks/R.Framework/Versions/3.1/Resources/fontconfig/cache
|
||||
'/Library/Frameworks/R.Framework/Versions/3.1',
|
||||
]
|
||||
zap :delete => [
|
||||
'~/.R',
|
||||
'~/.Rhistory',
|
||||
'~/.Rprofile',
|
||||
]
|
||||
end
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -10,12 +10,12 @@ 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 => [
|
||||
'~/Library/Application Support/RubyMine40',
|
||||
'~/Library/Preferences/RubyMine40',
|
||||
'~/Library/Application Support/RubyMine50',
|
||||
'~/Library/Preferences/RubyMine50',
|
||||
'~/Library/Application Support/RubyMine60',
|
||||
'~/Library/Preferences/RubyMine60',
|
||||
]
|
||||
zap :delete => [
|
||||
'~/Library/Application Support/RubyMine40',
|
||||
'~/Library/Preferences/RubyMine40',
|
||||
'~/Library/Application Support/RubyMine50',
|
||||
'~/Library/Preferences/RubyMine50',
|
||||
'~/Library/Application Support/RubyMine60',
|
||||
'~/Library/Preferences/RubyMine60',
|
||||
]
|
||||
end
|
||||
|
|
|
@ -6,8 +6,8 @@ class Sabnzbd < Cask
|
|||
homepage 'http://sabnzbd.org/'
|
||||
|
||||
app '10.8 (M-Lion) 10.9 (Mavericks)/SABnzbd.app'
|
||||
zap :files => [
|
||||
'~/Library/Application Support/SABnzbd/sabnzbd.ini',
|
||||
'~/Library/Application Support/SABnzbd/admin/rss_data.sab',
|
||||
]
|
||||
zap :delete => [
|
||||
'~/Library/Application Support/SABnzbd/sabnzbd.ini',
|
||||
'~/Library/Application Support/SABnzbd/admin/rss_data.sab',
|
||||
]
|
||||
end
|
||||
|
|
|
@ -9,8 +9,8 @@ class Seil < Cask
|
|||
uninstall :quit => 'org.pqrs.Seil',
|
||||
:kext => 'org.pqrs.driver.Seil',
|
||||
:pkgutil => 'org.pqrs.driver.Seil'
|
||||
zap :files => [
|
||||
'~/Library/Preferences/org.pqrs.PCKeyboardHack.plist',
|
||||
'~/Library/Preferences/org.pqrs.Seil.plist',
|
||||
]
|
||||
zap :delete => [
|
||||
'~/Library/Preferences/org.pqrs.PCKeyboardHack.plist',
|
||||
'~/Library/Preferences/org.pqrs.Seil.plist',
|
||||
]
|
||||
end
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue