Browse Source

Convert to zap trash (#4808)

master
commitay 7 years ago
committed by GitHub
parent
commit
23cc2781f4
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 12
      Casks/1password-beta.rb
  2. 10
      Casks/adium-beta.rb
  3. 10
      Casks/adobe-air-beta.rb
  4. 8
      Casks/adobe-photoshop-lightroom441.rb
  5. 8
      Casks/adobe-photoshop-lightroom571.rb
  6. 8
      Casks/adobe-photoshop-lightroom600.rb
  7. 16
      Casks/alfred2.rb
  8. 16
      Casks/android-studio-preview.rb
  9. 14
      Casks/audirvana-plus2.rb
  10. 8
      Casks/charles-applejava.rb
  11. 12
      Casks/charles-beta.rb
  12. 14
      Casks/clementine-latest.rb
  13. 14
      Casks/clementine-rc.rb
  14. 2
      Casks/cura-beta.rb
  15. 10
      Casks/dash2.rb
  16. 12
      Casks/dash3.rb
  17. 12
      Casks/discord-ptb.rb
  18. 28
      Casks/docker-edge.rb
  19. 12
      Casks/electron-beta.rb
  20. 30
      Casks/firefox-beta.rb
  21. 8
      Casks/firefox-esr.rb
  22. 8
      Casks/firefoxnightly.rb
  23. 22
      Casks/forklift-beta.rb
  24. 8
      Casks/forklift2.rb
  25. 12
      Casks/gemini-classic.rb
  26. 28
      Casks/github-beta.rb
  27. 26
      Casks/gpg-suite-beta.rb
  28. 26
      Casks/gpg-suite-nightly.rb
  29. 10
      Casks/hazel3.rb
  30. 24
      Casks/hyper-canary.rb
  31. 18
      Casks/intellij-idea20161.rb
  32. 18
      Casks/iterm2-beta.rb
  33. 2
      Casks/iterm2-legacy.rb
  34. 18
      Casks/iterm2-nightly.rb
  35. 24
      Casks/java8.rb
  36. 2
      Casks/julia-nightly.rb
  37. 12
      Casks/keka-beta.rb
  38. 2
      Casks/kicad-nightly.rb
  39. 8
      Casks/lilypond-dev.rb
  40. 12
      Casks/lingon-x4.rb
  41. 6
      Casks/mi-beta.rb
  42. 14
      Casks/microsoft-remote-desktop-beta.rb
  43. 12
      Casks/omnifocus-beta.rb
  44. 2
      Casks/omnigraffle5.rb
  45. 62
      Casks/openemu-experimental.rb
  46. 18
      Casks/parallels11.rb
  47. 18
      Casks/parallels12.rb
  48. 8
      Casks/pgadmin3.rb
  49. 16
      Casks/porting-kit-legacy.rb
  50. 2
      Casks/processing2.rb
  51. 10
      Casks/psi-plus.rb
  52. 10
      Casks/rhinoceroswip.rb
  53. 2
      Casks/rstudio-daily.rb
  54. 2
      Casks/rstudio-preview.rb
  55. 24
      Casks/safari-technology-preview.rb
  56. 2
      Casks/sequel-pro-nightly.rb
  57. 12
      Casks/shimo3.rb
  58. 20
      Casks/slack-beta.rb
  59. 14
      Casks/sourcetree-alpha.rb
  60. 14
      Casks/sourcetree-beta.rb
  61. 14
      Casks/sublime-text-dev.rb
  62. 12
      Casks/sublime-text2.rb
  63. 10
      Casks/tower-beta.rb
  64. 16
      Casks/tunnelblick-beta.rb
  65. 24
      Casks/virtualbox-beta.rb
  66. 18
      Casks/visual-studio-code-insiders.rb
  67. 14
      Casks/vmware-fusion7.rb
  68. 50
      Casks/vmware-fusion8.rb

12
Casks/1password-beta.rb

@ -12,10 +12,10 @@ cask '1password-beta' do
app "1Password #{version.major}.app" app "1Password #{version.major}.app"
zap delete: [ zap trash: [
'~/Library/Application Scripts/2BUA8C4S2C.com.agilebits.onepassword-osx-helper', '~/Library/Application Scripts/2BUA8C4S2C.com.agilebits.onepassword-osx-helper',
'~/Library/Containers/2BUA8C4S2C.com.agilebits.onepassword-osx-helper', '~/Library/Containers/2BUA8C4S2C.com.agilebits.onepassword-osx-helper',
'~/Library/Containers/com.agilebits.onepassword-osx', '~/Library/Containers/com.agilebits.onepassword-osx',
'~/Library/Group Containers/2BUA8C4S2C.com.agilebits', '~/Library/Group Containers/2BUA8C4S2C.com.agilebits',
] ]
end end

10
Casks/adium-beta.rb

@ -9,9 +9,9 @@ cask 'adium-beta' do
app 'Adium.app' app 'Adium.app'
zap delete: [ zap trash: [
'~/Library/Caches/Adium', '~/Library/Caches/Adium',
'~/Library/Caches/com.adiumX.adiumX', '~/Library/Caches/com.adiumX.adiumX',
'~/Library/Preferences/com.adiumX.adiumX.plist', '~/Library/Preferences/com.adiumX.adiumX.plist',
] ]
end end

10
Casks/adobe-air-beta.rb

@ -24,9 +24,9 @@ cask 'adobe-air-beta' do
'/Applications/Adobe', '/Applications/Adobe',
] ]
zap delete: [ zap trash: [
'~/Library/Application Support/Adobe/AIR', '~/Library/Application Support/Adobe/AIR',
'~/Library/Caches/com.adobe.air.ApplicationInstaller', '~/Library/Caches/com.adobe.air.ApplicationInstaller',
], ],
rmdir: '~/Library/Application Support/Adobe/' rmdir: '~/Library/Application Support/Adobe/'
end end

8
Casks/adobe-photoshop-lightroom441.rb

@ -11,8 +11,8 @@ cask 'adobe-photoshop-lightroom441' do
uninstall pkgutil: "com.adobe.Lightroom#{version.major}", uninstall pkgutil: "com.adobe.Lightroom#{version.major}",
quit: "com.adobe.Lightroom#{version.major}" quit: "com.adobe.Lightroom#{version.major}"
zap delete: [ zap trash: [
'~/Library/Application Support/Adobe/Lightroom', '~/Library/Application Support/Adobe/Lightroom',
"~/Library/Preferences/com.adobe.Lightroom#{version.major}.plist", "~/Library/Preferences/com.adobe.Lightroom#{version.major}.plist",
] ]
end end

8
Casks/adobe-photoshop-lightroom571.rb

@ -11,8 +11,8 @@ cask 'adobe-photoshop-lightroom571' do
uninstall pkgutil: "com.adobe.Lightroom#{version.major}", uninstall pkgutil: "com.adobe.Lightroom#{version.major}",
quit: "com.adobe.Lightroom#{version.major}" quit: "com.adobe.Lightroom#{version.major}"
zap delete: [ zap trash: [
'~/Library/Application Support/Adobe/Lightroom', '~/Library/Application Support/Adobe/Lightroom',
"~/Library/Preferences/com.adobe.Lightroom#{version.major}.plist", "~/Library/Preferences/com.adobe.Lightroom#{version.major}.plist",
] ]
end end

8
Casks/adobe-photoshop-lightroom600.rb

@ -42,10 +42,10 @@ cask 'adobe-photoshop-lightroom600' do
uninstall delete: '/Applications/Adobe Lightroom/Adobe Lightroom.app' uninstall delete: '/Applications/Adobe Lightroom/Adobe Lightroom.app'
zap delete: [ zap trash: [
'~/Library/Application Support/Adobe/Lightroom', '~/Library/Application Support/Adobe/Lightroom',
"~/Library/Preferences/com.adobe.Lightroom#{version.major}.plist", "~/Library/Preferences/com.adobe.Lightroom#{version.major}.plist",
] ]
caveats 'Installation or Uninstallation may fail with Exit Code 19 (Conflicting Processes running) if Browsers, Safari Notification Service or SIMBL Services are running or Adobe Creative Cloud or any other Adobe Products are already installed. See Logs in /Library/Logs/Adobe/Installers if Installation or Uninstallation fails, to identify the conflicting processes.' caveats 'Installation or Uninstallation may fail with Exit Code 19 (Conflicting Processes running) if Browsers, Safari Notification Service or SIMBL Services are running or Adobe Creative Cloud or any other Adobe Products are already installed. See Logs in /Library/Logs/Adobe/Installers if Installation or Uninstallation fails, to identify the conflicting processes.'
end end

16
Casks/alfred2.rb

@ -14,12 +14,12 @@ cask 'alfred2' do
uninstall quit: 'com.runningwithcrayons.Alfred-2', uninstall quit: 'com.runningwithcrayons.Alfred-2',
login_item: 'Alfred 2' login_item: 'Alfred 2'
zap delete: [ zap trash: [
'~/Library/Application Support/Alfred 2', '~/Library/Application Support/Alfred 2',
'~/Library/Caches/com.runningwithcrayons.Alfred-2', '~/Library/Caches/com.runningwithcrayons.Alfred-2',
'~/Library/Caches/com.runningwithcrayons.Alfred-Preferences', '~/Library/Caches/com.runningwithcrayons.Alfred-Preferences',
'~/Library/Preferences/com.runningwithcrayons.Alfred-2.plist', '~/Library/Preferences/com.runningwithcrayons.Alfred-2.plist',
'~/Library/Preferences/com.runningwithcrayons.Alfred-Preferences.plist', '~/Library/Preferences/com.runningwithcrayons.Alfred-Preferences.plist',
'~/Library/Saved Application State/com.runningwithcrayons.Alfred-Preferences.savedState', '~/Library/Saved Application State/com.runningwithcrayons.Alfred-Preferences.savedState',
] ]
end end

16
Casks/android-studio-preview.rb

@ -9,14 +9,14 @@ cask 'android-studio-preview' do
app "Android Studio #{version.major_minor} Preview.app" app "Android Studio #{version.major_minor} Preview.app"
zap delete: [ zap trash: [
"~/Library/Application Support/AndroidStudioPreview#{version.major_minor}", "~/Library/Application Support/AndroidStudioPreview#{version.major_minor}",
"~/Library/Caches/AndroidStudioPreview#{version.major_minor}", "~/Library/Caches/AndroidStudioPreview#{version.major_minor}",
"~/Library/Logs/AndroidStudioPreview#{version.major_minor}", "~/Library/Logs/AndroidStudioPreview#{version.major_minor}",
"~/Library/Preferences/AndroidStudioPreview#{version.major_minor}", "~/Library/Preferences/AndroidStudioPreview#{version.major_minor}",
'~/Library/Preferences/com.google.android.studio.plist', '~/Library/Preferences/com.google.android.studio.plist',
], ],
rmdir: '~/AndroidStudioProjects' rmdir: '~/AndroidStudioProjects'
caveats do caveats do
depends_on_java depends_on_java

14
Casks/audirvana-plus2.rb

@ -10,11 +10,11 @@ cask 'audirvana-plus2' do
app 'Audirvana Plus.app' app 'Audirvana Plus.app'
zap delete: [ zap trash: [
'/Library/LaunchDaemons/com.audirvana.Audirvana-Plus.plist', '/Library/LaunchDaemons/com.audirvana.Audirvana-Plus.plist',
'/Library/PrivilegedHelperTools/com.audirvana.Audirvana-Plus', '/Library/PrivilegedHelperTools/com.audirvana.Audirvana-Plus',
'~/Library/Caches/com.audirvana.Audirvana-Plus', '~/Library/Caches/com.audirvana.Audirvana-Plus',
'~/Library/Cookies/com.audirvana.Audirvana-Plus.binarycookies', '~/Library/Cookies/com.audirvana.Audirvana-Plus.binarycookies',
'~/Library/Preferences/com.audirvana.Audirvana-Plus.plist', '~/Library/Preferences/com.audirvana.Audirvana-Plus.plist',
] ]
end end

8
Casks/charles-applejava.rb

@ -8,8 +8,8 @@ cask 'charles-applejava' do
app 'Charles.app' app 'Charles.app'
zap delete: [ zap trash: [
'~/Library/Application Support/Charles', '~/Library/Application Support/Charles',
'~/Library/Preferences/com.xk72.charles.config', '~/Library/Preferences/com.xk72.charles.config',
] ]
end end

12
Casks/charles-beta.rb

@ -10,10 +10,10 @@ cask 'charles-beta' do
uninstall quit: 'com.xk72.Charles' uninstall quit: 'com.xk72.Charles'
zap delete: '~/Library/Saved Application State/com.xk72.Charles.savedState', zap trash: [
trash: [ '~/Library/Application Support/Charles',
'~/Library/Application Support/Charles', '~/Library/Preferences/com.xk72.Charles.plist',
'~/Library/Preferences/com.xk72.Charles.plist', '~/Library/Preferences/com.xk72.charles.config',
'~/Library/Preferences/com.xk72.charles.config', '~/Library/Saved Application State/com.xk72.Charles.savedState',
] ]
end end

14
Casks/clementine-latest.rb

@ -27,12 +27,10 @@ cask 'clementine-latest' do
set_permissions "#{staged_path}/Clementine.app", '0755' set_permissions "#{staged_path}/Clementine.app", '0755'
end end
zap delete: [ zap trash: [
'~/Library/Caches/org.clementine-player.Clementine', '~/Library/Application Support/Clementine',
'~/Library/Saved Application State/org.clementine-player.Clementine.savedState', '~/Library/Caches/org.clementine-player.Clementine',
], '~/Library/Saved Application State/org.clementine-player.Clementine.savedState',
trash: [ '~/Library/Preferences/org.clementine-player.Clementine.plist',
'~/Library/Application Support/Clementine', ]
'~/Library/Preferences/org.clementine-player.Clementine.plist',
]
end end

14
Casks/clementine-rc.rb

@ -13,12 +13,10 @@ cask 'clementine-rc' do
app 'Clementine.app' app 'Clementine.app'
zap delete: [ zap trash: [
'~/Library/Caches/org.clementine-player.Clementine', '~/Library/Application Support/Clementine',
'~/Library/Saved Application State/org.clementine-player.Clementine.savedState', '~/Library/Caches/org.clementine-player.Clementine',
], '~/Library/Saved Application State/org.clementine-player.Clementine.savedState',
trash: [ '~/Library/Preferences/org.clementine-player.Clementine.plist',
'~/Library/Application Support/Clementine', ]
'~/Library/Preferences/org.clementine-player.Clementine.plist',
]
end end

2
Casks/cura-beta.rb

@ -8,5 +8,5 @@ cask 'cura-beta' do
app 'Cura.app' app 'Cura.app'
zap delete: '~/.cura' zap trash: '~/.cura'
end end

10
Casks/dash2.rb

@ -8,9 +8,9 @@ cask 'dash2' do
app 'Dash.app' app 'Dash.app'
zap delete: [ zap trash: [
'~/Library/Application Support/Dash', '~/Library/Application Support/Dash',
'~/Library/Preferences/com.kapeli.dash.plist', '~/Library/Preferences/com.kapeli.dash.plist',
'~/Library/Preferences/com.kapeli.dashdoc.plist', '~/Library/Preferences/com.kapeli.dashdoc.plist',
] ]
end end

12
Casks/dash3.rb

@ -12,10 +12,10 @@ cask 'dash3' do
app 'Dash.app' app 'Dash.app'
zap delete: [ zap trash: [
'~/Library/Application Support/Dash', '~/Library/Application Support/Dash',
'~/Library/Application Support/com.kapeli.dashdoc', '~/Library/Application Support/com.kapeli.dashdoc',
'~/Library/Preferences/com.kapeli.dash.plist', '~/Library/Preferences/com.kapeli.dash.plist',
'~/Library/Preferences/com.kapeli.dashdoc.plist', '~/Library/Preferences/com.kapeli.dashdoc.plist',
] ]
end end

12
Casks/discord-ptb.rb

@ -8,10 +8,10 @@ cask 'discord-ptb' do
app 'Discord PTB.app' app 'Discord PTB.app'
zap delete: [ zap trash: [
'~/Library/Preferences/com.hnc.DiscordPTB.plist', '~/Library/Preferences/com.hnc.DiscordPTB.plist',
'~/Library/Saved Application State/com.hnc.DiscordPTB.savedState', '~/Library/Saved Application State/com.hnc.DiscordPTB.savedState',
'~/Library/Caches/com.hnc.DiscordPTB', '~/Library/Caches/com.hnc.DiscordPTB',
'~/Library/Application Support/com.hnc.DiscordPTB.ShipIt', '~/Library/Application Support/com.hnc.DiscordPTB.ShipIt',
] ]
end end

28
Casks/docker-edge.rb

@ -21,18 +21,18 @@ cask 'docker-edge' do
], ],
quit: 'com.docker.docker' quit: 'com.docker.docker'
zap delete: [ zap trash: [
'~/Library/Application Scripts/com.docker.helper', '~/Library/Application Scripts/com.docker.helper',
'~/Library/Caches/KSCrashReports/Docker', '~/Library/Caches/KSCrashReports/Docker',
'~/Library/Caches/com.docker.docker', '~/Library/Caches/com.docker.docker',
'~/Library/Caches/com.plausiblelabs.crashreporter.data/com.docker.docker', '~/Library/Caches/com.plausiblelabs.crashreporter.data/com.docker.docker',
'~/Library/Containers/com.docker.docker', '~/Library/Containers/com.docker.docker',
'~/Library/Containers/com.docker.helper', '~/Library/Containers/com.docker.helper',
'~/Library/Group Containers/group.com.docker', '~/Library/Group Containers/group.com.docker',
], '~/Library/Preferences/com.docker.docker.plist',
trash: '~/Library/Preferences/com.docker.docker.plist', ],
rmdir: [ rmdir: [
'~/Library/Caches/KSCrashReports', '~/Library/Caches/KSCrashReports',
'~/Library/Caches/com.plausiblelabs.crashreporter.data', '~/Library/Caches/com.plausiblelabs.crashreporter.data',
] ]
end end

12
Casks/electron-beta.rb

@ -11,10 +11,10 @@ cask 'electron-beta' do
app 'Electron.app' app 'Electron.app'
zap delete: [ zap trash: [
'~/Library/Application Support/Electron', '~/Library/Application Support/Electron',
'~/Library/Caches/Electron', '~/Library/Caches/Electron',
'~/Library/Preferences/com.github.electron.helper.plist', '~/Library/Preferences/com.github.electron.helper.plist',
'~/Library/Preferences/com.github.electron.plist', '~/Library/Preferences/com.github.electron.plist',
] ]
end end

30
Casks/firefox-beta.rb

@ -114,20 +114,18 @@ cask 'firefox-beta' do
app 'Firefox.app' app 'Firefox.app'
zap delete: [ zap trash: [
'/Library/Logs/DiagnosticReports/firefox_*', '/Library/Logs/DiagnosticReports/firefox_*',
'~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/org.mozilla.firefox.sfl*', '~/Library/Application Support/Firefox',
'~/Library/Caches/Firefox', '~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/org.mozilla.firefox.sfl*',
'~/Library/Caches/Mozilla/updates/Applications/Firefox', '~/Library/Caches/Firefox',
], '~/Library/Caches/Mozilla/updates/Applications/Firefox',
trash: [ '~/Library/Preferences/org.mozilla.firefox.plist',
'~/Library/Application Support/Firefox', ],
'~/Library/Preferences/org.mozilla.firefox.plist', rmdir: [
], '~/Library/Application Support/Mozilla', # May also contain non-Firefox data
rmdir: [ '~/Library/Caches/Mozilla/updates/Applications',
'~/Library/Application Support/Mozilla', # May also contain non-Firefox data '~/Library/Caches/Mozilla/updates',
'~/Library/Caches/Mozilla/updates/Applications', '~/Library/Caches/Mozilla',
'~/Library/Caches/Mozilla/updates', ]
'~/Library/Caches/Mozilla',
]
end end

8
Casks/firefox-esr.rb

@ -83,8 +83,8 @@ cask 'firefox-esr' do
app 'Firefox.app' app 'Firefox.app'
zap delete: [ zap trash: [
'~/Library/Application Support/Firefox', '~/Library/Application Support/Firefox',
'~/Library/Caches/Firefox', '~/Library/Caches/Firefox',
] ]
end end

8
Casks/firefoxnightly.rb

@ -28,8 +28,8 @@ cask 'firefoxnightly' do
app 'FirefoxNightly.app' app 'FirefoxNightly.app'
zap delete: [ zap trash: [
'~/Library/Application Support/Firefox', '~/Library/Application Support/Firefox',
'~/Library/Caches/Firefox', '~/Library/Caches/Firefox',
] ]
end end

22
Casks/forklift-beta.rb

@ -18,16 +18,14 @@ cask 'forklift-beta' do
'com.binarynights.ForkLiftMini', 'com.binarynights.ForkLiftMini',
] ]
zap delete: [ zap trash: [
"~/Library/Caches/com.binarynights.ForkLift-#{version.major}", '~/Library/Application Support/ForkLift',
"~/Library/Cookies/com.binarynights.ForkLift-#{version.major}.binarycookies", "~/Library/Caches/com.binarynights.ForkLift-#{version.major}",
'~/Library/Logs/ForkLift', "~/Library/Cookies/com.binarynights.ForkLift-#{version.major}.binarycookies",
'~/Library/Logs/ForkLiftMini', '~/Library/Logs/ForkLift',
"~/Library/Saved Application State/com.binarynights.ForkLift-#{version.major}.savedState", '~/Library/Logs/ForkLiftMini',
], "~/Library/Preferences/com.binarynights.ForkLift-#{version.major}.plist",
trash: [ '~/Library/Preferences/com.binarynights.ForkLiftMini.plist',
'~/Library/Application Support/ForkLift', "~/Library/Saved Application State/com.binarynights.ForkLift-#{version.major}.savedState",
"~/Library/Preferences/com.binarynights.ForkLift-#{version.major}.plist", ]
'~/Library/Preferences/com.binarynights.ForkLiftMini.plist',
]
end end

8
Casks/forklift2.rb

@ -10,8 +10,8 @@ cask 'forklift2' do
app 'ForkLift.app' app 'ForkLift.app'
zap delete: [ zap trash: [
"~/Library/Preferences/com.binarynights.ForkLift#{version.major}.plist", "~/Library/Preferences/com.binarynights.ForkLift#{version.major}.plist",
"~/Library/Caches/com.binarynights.ForkLift#{version.major}", "~/Library/Caches/com.binarynights.ForkLift#{version.major}",
] ]
end end

12
Casks/gemini-classic.rb

@ -11,10 +11,10 @@ cask 'gemini-classic' do
app 'MacPaw Gemini.app' app 'MacPaw Gemini.app'
zap delete: [ zap trash: [
'~/Library/Application Support/MacPaw Gemini', '~/Library/Application Support/MacPaw Gemini',
'~/Library/Caches/com.macpaw.site.Gemini', '~/Library/Caches/com.macpaw.site.Gemini',
'~/Library/Preferences/com.macpaw.site.Gemini.plist', '~/Library/Preferences/com.macpaw.site.Gemini.plist',
'~/Library/Saved Application State/com.macpaw.site.Gemini.savedState', '~/Library/Saved Application State/com.macpaw.site.Gemini.savedState',
] ]
end end

28
Casks/github-beta.rb

@ -14,19 +14,17 @@ cask 'github-beta' do
app 'GitHub Desktop.app' app 'GitHub Desktop.app'
binary "#{appdir}/GitHub Desktop.app/Contents/Resources/app/static/github.sh", target: 'github' binary "#{appdir}/GitHub Desktop.app/Contents/Resources/app/static/github.sh", target: 'github'
zap delete: [ zap trash: [
'~/Library/Application Support/ShipIt_stderr.log', '~/Library/Application Support/GitHub Desktop',
'~/Library/Application Support/ShipIt_stdout.log', '~/Library/Application Support/com.github.GitHubClient',
'~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.github.GitHubClient.sfl*', '~/Library/Application Support/com.github.GitHubClient.ShipIt',
'~/Library/Caches/com.github.GitHubClient', '~/Library/Application Support/ShipIt_stderr.log',
'~/Library/Caches/com.github.GitHubClient.ShipIt', '~/Library/Application Support/ShipIt_stdout.log',
], '~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.github.GitHubClient.sfl*',
trash: [ '~/Library/Caches/com.github.GitHubClient',
'~/Library/Application Support/GitHub Desktop', '~/Library/Caches/com.github.GitHubClient.ShipIt',
'~/Library/Application Support/com.github.GitHubClient', '~/Library/Preferences/com.github.GitHubClient.helper.plist',
'~/Library/Application Support/com.github.GitHubClient.ShipIt', '~/Library/Preferences/com.github.GitHubClient.plist',
'~/Library/Preferences/com.github.GitHubClient.helper.plist', ],
'~/Library/Preferences/com.github.GitHubClient.plist', rmdir: '~/.config/git'
],
rmdir: '~/.config/git'
end end

26
Casks/gpg-suite-beta.rb

@ -59,20 +59,18 @@ cask 'gpg-suite-beta' do
'/Library/Frameworks/Libmacgpg.framework', '/Library/Frameworks/Libmacgpg.framework',
] ]
zap delete: [ zap trash: [
'~/Library/Services/GPGServices.service', '~/Library/Services/GPGServices.service',
'~/Library/Mail/Bundles/GPGMail.mailbundle', '~/Library/Mail/Bundles/GPGMail.mailbundle',
'~/Library/PreferencePanes/GPGPreferences.prefPane', '~/Library/PreferencePanes/GPGPreferences.prefPane',
'~/Library/LaunchAgents/org.gpgtools.*', '~/Library/LaunchAgents/org.gpgtools.*',
'~/Library/Containers/com.apple.mail/Data/Library/Preferences/org.gpgtools.*', '~/Library/Containers/com.apple.mail/Data/Library/Preferences/org.gpgtools.*',
'~/Library/Frameworks/Libmacgpg.framework', '~/Library/Frameworks/Libmacgpg.framework',
'~/Containers/com.apple.mail/Data/Library/Frameworks/Libmacgpg.framework', '~/Containers/com.apple.mail/Data/Library/Frameworks/Libmacgpg.framework',
'~/Library/Caches/org.gpgtools.gpg*', '~/Library/Caches/org.gpgtools.gpg*',
], '~/Library/Application Support/GPGTools',
trash: [ '~/Library/Preferences/org.gpgtools.*',
'~/Library/Application Support/GPGTools', ]
'~/Library/Preferences/org.gpgtools.*',
]
caveats do caveats do
files_in_usr_local files_in_usr_local

26
Casks/gpg-suite-nightly.rb

@ -63,20 +63,18 @@ cask 'gpg-suite-nightly' do
'/Library/Frameworks/Libmacgpg.framework', '/Library/Frameworks/Libmacgpg.framework',
] ]
zap delete: [ zap trash: [
'~/Library/Services/GPGServices.service', '~/Library/Services/GPGServices.service',
'~/Library/Mail/Bundles/GPGMail.mailbundle', '~/Library/Mail/Bundles/GPGMail.mailbundle',
'~/Library/PreferencePanes/GPGPreferences.prefPane', '~/Library/PreferencePanes/GPGPreferences.prefPane',
'~/Library/LaunchAgents/org.gpgtools.*', '~/Library/LaunchAgents/org.gpgtools.*',
'~/Library/Containers/com.apple.mail/Data/Library/Preferences/org.gpgtools.*', '~/Library/Containers/com.apple.mail/Data/Library/Preferences/org.gpgtools.*',
'~/Library/Frameworks/Libmacgpg.framework', '~/Library/Frameworks/Libmacgpg.framework',
'~/Containers/com.apple.mail/Data/Library/Frameworks/Libmacgpg.framework', '~/Containers/com.apple.mail/Data/Library/Frameworks/Libmacgpg.framework',
'~/Library/Caches/org.gpgtools.gpg*', '~/Library/Caches/org.gpgtools.gpg*',
], '~/Library/Application Support/GPGTools',
trash: [ '~/Library/Preferences/org.gpgtools.*',
'~/Library/Application Support/GPGTools', ]
'~/Library/Preferences/org.gpgtools.*',
]
caveats do caveats do
files_in_usr_local files_in_usr_local

10
Casks/hazel3.rb

@ -8,9 +8,9 @@ cask 'hazel3' do
prefpane 'Install Hazel.app/Contents/Resources/Hazel.prefPane' prefpane 'Install Hazel.app/Contents/Resources/Hazel.prefPane'
zap delete: [ zap trash: [
'~/Library/Application Support/Hazel', '~/Library/Application Support/Hazel',
'~/Library/Preferences/com.noodlesoft.Hazel.plist', '~/Library/Preferences/com.noodlesoft.Hazel.plist',
'~/Library/Preferences/com.noodlesoft.HazelHelper.plist', '~/Library/Preferences/com.noodlesoft.HazelHelper.plist',
] ]
end end

24
Casks/hyper-canary.rb

@ -11,17 +11,15 @@ cask 'hyper-canary' do
app 'Hyper.app' app 'Hyper.app'
zap delete: [ zap trash: [
'~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/co.zeit.hyper.sfl*', '~/.hyper.js',
'~/Library/Caches/co.zeit.hyper', '~/.hyper_plugins',
'~/Library/Caches/co.zeit.hyper.ShipIt', '~/Library/Application Support/Hyper',
'~/Library/Saved Application State/co.zeit.hyper.savedState', '~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/co.zeit.hyper.sfl*',
], '~/Library/Caches/co.zeit.hyper',
trash: [ '~/Library/Caches/co.zeit.hyper.ShipIt',
'~/.hyper.js', '~/Library/Preferences/co.zeit.hyper.plist',
'~/.hyper_plugins', '~/Library/Preferences/co.zeit.hyper.helper.plist',
'~/Library/Application Support/Hyper', '~/Library/Saved Application State/co.zeit.hyper.savedState',
'~/Library/Preferences/co.zeit.hyper.plist', ]
'~/Library/Preferences/co.zeit.hyper.helper.plist',
]
end end

18
Casks/intellij-idea20161.rb

@ -14,14 +14,12 @@ cask 'intellij-idea20161' do
ENV['PATH'].split(File::PATH_SEPARATOR).map { |path| File.join(path, 'idea') }.each { |path| File.delete(path) if File.exist?(path) && File.readlines(path).grep(%r{# see com.intellij.idea.SocketLock for the server side of this interface}).any? } ENV['PATH'].split(File::PATH_SEPARATOR).map { |path| File.join(path, 'idea') }.each { |path| File.delete(path) if File.exist?(path) && File.readlines(path).grep(%r{# see com.intellij.idea.SocketLock for the server side of this interface}).any? }
end end
zap delete: [ zap trash: [
"~/Library/Caches/IntelliJIdea#{version.major_minor}", "~/Library/Application Support/IntelliJIdea#{version.major_minor}",
"~/Library/Logs/IntelliJIdea#{version.major_minor}", "~/Library/Caches/IntelliJIdea#{version.major_minor}",
'~/Library/Saved Application State/com.jetbrains.intellij.savedState', "~/Library/Logs/IntelliJIdea#{version.major_minor}",
], "~/Library/Preferences/IntelliJIdea#{version.major_minor}",
trash: [ '~/Library/Preferences/com.jetbrains.intellij.plist',
"~/Library/Application Support/IntelliJIdea#{version.major_minor}", '~/Library/Saved Application State/com.jetbrains.intellij.savedState',
"~/Library/Preferences/IntelliJIdea#{version.major_minor}", ]
'~/Library/Preferences/com.jetbrains.intellij.plist',
]
end end

18
Casks/iterm2-beta.rb

@ -14,14 +14,12 @@ cask 'iterm2-beta' do
app 'iTerm.app' app 'iTerm.app'
zap delete: [ zap trash: [
'~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.googlecode.iterm2.sfl*', '~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.googlecode.iterm2.sfl*',
'~/Library/Caches/com.googlecode.iterm2', '~/Library/Application Support/iTerm',
'~/Library/Saved Application State/com.googlecode.iterm2.savedState', '~/Library/Application Support/iTerm2',
], '~/Library/Caches/com.googlecode.iterm2',
trash: [ '~/Library/Preferences/com.googlecode.iterm2.plist',
'~/Library/Application Support/iTerm', '~/Library/Saved Application State/com.googlecode.iterm2.savedState',
'~/Library/Application Support/iTerm2', ]
'~/Library/Preferences/com.googlecode.iterm2.plist',
]
end end

2
Casks/iterm2-legacy.rb

@ -13,5 +13,5 @@ cask 'iterm2-legacy' do
app 'iTerm.app' app 'iTerm.app'
zap delete: '~/Library/Preferences/com.googlecode.iterm2.plist' zap trash: '~/Library/Preferences/com.googlecode.iterm2.plist'
end end

18
Casks/iterm2-nightly.rb

@ -12,14 +12,12 @@ cask 'iterm2-nightly' do
app 'iTerm.app' app 'iTerm.app'
zap delete: [ zap trash: [
'~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.googlecode.iterm2.sfl*', '~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.googlecode.iterm2.sfl*',
'~/Library/Caches/com.googlecode.iterm2', '~/Library/Caches/com.googlecode.iterm2',
'~/Library/Saved Application State/com.googlecode.iterm2.savedState', '~/Library/Application Support/iTerm',
], '~/Library/Application Support/iTerm2',
trash: [ '~/Library/Preferences/com.googlecode.iterm2.plist',
'~/Library/Application Support/iTerm', '~/Library/Saved Application State/com.googlecode.iterm2.savedState',
'~/Library/Application Support/iTerm2', ]
'~/Library/Preferences/com.googlecode.iterm2.plist',
]
end end

24
Casks/java8.rb

@ -70,19 +70,17 @@ cask 'java8' do
end, end,
].keep_if { |v| !v.nil? } ].keep_if { |v| !v.nil? }
zap delete: [ zap trash: [
'~/Library/Caches/com.oracle.java.Java-Updater', '~/Library/Application Support/Java/',
'~/Library/Caches/Oracle.MacJREInstaller', '~/Library/Application Support/Oracle/Java',
'~/Library/Caches/net.java.openjdk.cmd', '~/Library/Caches/com.oracle.java.Java-Updater',
], '~/Library/Caches/Oracle.MacJREInstaller',
trash: [ '~/Library/Caches/net.java.openjdk.cmd',
'~/Library/Application Support/Java/', '~/Library/Preferences/com.oracle.java.Java-Updater.plist',
'~/Library/Application Support/Oracle/Java', '~/Library/Preferences/com.oracle.java.JavaAppletPlugin.plist',
'~/Library/Preferences/com.oracle.java.Java-Updater.plist', '~/Library/Preferences/com.oracle.javadeployment.plist',
'~/Library/Preferences/com.oracle.java.JavaAppletPlugin.plist', ],
'~/Library/Preferences/com.oracle.javadeployment.plist', rmdir: '~/Library/Application Support/Oracle/'
],
rmdir: '~/Library/Application Support/Oracle/'
caveats <<~EOS caveats <<~EOS
This Cask makes minor modifications to the JRE to prevent issues with This Cask makes minor modifications to the JRE to prevent issues with

2
Casks/julia-nightly.rb

@ -12,5 +12,5 @@ cask 'julia-nightly' do
app "Julia-#{version.sub(%r{(.+)-(.+)}, '\1-dev-\2')}.app" app "Julia-#{version.sub(%r{(.+)-(.+)}, '\1-dev-\2')}.app"
binary "#{appdir}/Julia-#{version.sub(%r{(.+)-(.+)}, '\1-dev-\2')}.app/Contents/Resources/julia/bin/julia" binary "#{appdir}/Julia-#{version.sub(%r{(.+)-(.+)}, '\1-dev-\2')}.app/Contents/Resources/julia/bin/julia"
zap delete: '~/.julia' zap trash: '~/.julia'
end end

12
Casks/keka-beta.rb

@ -15,10 +15,10 @@ cask 'keka-beta' do
app 'Keka.app' app 'Keka.app'
zap delete: [ zap trash: [
'~/Library/Application Support/Keka', '~/Library/Application Support/Keka',
'~/Library/Caches/com.aone.keka', '~/Library/Caches/com.aone.keka',
'~/Library/Preferences/com.aone.keka.plist', '~/Library/Preferences/com.aone.keka.plist',
'~/Library/Saved Application State/com.aone.keka.savedState', '~/Library/Saved Application State/com.aone.keka.savedState',
] ]
end end

2
Casks/kicad-nightly.rb

@ -21,5 +21,5 @@ cask 'kicad-nightly' do
end end
end end
zap delete: '~/Library/Preferences/kicad' zap trash: '~/Library/Preferences/kicad'
end end

8
Casks/lilypond-dev.rb

@ -31,8 +31,8 @@ cask 'lilypond-dev' do
end end
end end
zap delete: [ zap trash: [
'~/Library/Preferences/org.lilypond.lilypond.plist', '~/Library/Preferences/org.lilypond.lilypond.plist',
'~/Library/Preferences/org.lilypond.lilypond.LSSharedFileList.plist', '~/Library/Preferences/org.lilypond.lilypond.LSSharedFileList.plist',
] ]
end end

12
Casks/lingon-x4.rb

@ -12,10 +12,10 @@ cask 'lingon-x4' do
app 'Lingon X.app' app 'Lingon X.app'
zap delete: [ zap trash: [
'~/Library/Application Scripts/com.peterborgapps.LingonX4Agent', '~/Library/Application Scripts/com.peterborgapps.LingonX4Agent',
'~/Library/Caches/com.peterborgapps.LingonX4', '~/Library/Caches/com.peterborgapps.LingonX4',
'~/Library/Containers/com.peterborgapps.LingonX4Agent', '~/Library/Containers/com.peterborgapps.LingonX4Agent',
'~/Library/Preferences/com.peterborgapps.LingonX4.plist', '~/Library/Preferences/com.peterborgapps.LingonX4.plist',
] ]
end end

6
Casks/mi-beta.rb

@ -12,6 +12,8 @@ cask 'mi-beta' do
app 'mi.app' app 'mi.app'
zap delete: '~/Library/Caches/net.mimikaki.mi', zap trash: [
trash: '~/Library/Preferences/net.mimikaki.mi.plist' '~/Library/Caches/net.mimikaki.mi',
'~/Library/Preferences/net.mimikaki.mi.plist',
]
end end

14
Casks/microsoft-remote-desktop-beta.rb

@ -10,11 +10,11 @@ cask 'microsoft-remote-desktop-beta' do
app 'Microsoft Remote Desktop Beta.app' app 'Microsoft Remote Desktop Beta.app'
zap delete: [ zap trash: [
'~/Library/Preferences/com.microsoft.rdc.osx.beta', '~/Library/Preferences/com.microsoft.rdc.osx.beta',
'~/Library/Caches/com.microsoft.rdc.osx.beta', '~/Library/Caches/com.microsoft.rdc.osx.beta',
'~/Library/Application Support/com.microsoft.rdc.osx.beta', '~/Library/Application Support/com.microsoft.rdc.osx.beta',
'~/Library/Logs/Microsoft Remote Desktop Beta', '~/Library/Logs/Microsoft Remote Desktop Beta',
'~/Library/Application Support/Microsoft Remote Desktop Beta', '~/Library/Application Support/Microsoft Remote Desktop Beta',
] ]
end end

12
Casks/omnifocus-beta.rb

@ -8,10 +8,10 @@ cask 'omnifocus-beta' do
app 'OmniFocus.app' app 'OmniFocus.app'
zap delete: [ zap trash: [
'~/Library/containers/com.omnigroup.omnifocus2', '~/Library/containers/com.omnigroup.omnifocus2',
'~/Library/Preferences/com.omnigroup.OmniFocus2.LSSharedFileList.plist', '~/Library/Preferences/com.omnigroup.OmniFocus2.LSSharedFileList.plist',
'~/Library/Preferences/com.omnigroup.OmniSoftwareUpdate.plist', '~/Library/Preferences/com.omnigroup.OmniSoftwareUpdate.plist',
'~/Library/Caches/Metadata/com.omnigroup.OmniFocus2', '~/Library/Caches/Metadata/com.omnigroup.OmniFocus2',
] ]
end end

2
Casks/omnigraffle5.rb

@ -8,5 +8,5 @@ cask 'omnigraffle5' do
app 'OmniGraffle 5.app' app 'OmniGraffle 5.app'
zap delete: '~/Library/Application Support/The Omni Group/OmniGraffle' zap trash: '~/Library/Application Support/The Omni Group/OmniGraffle'
end end

62
Casks/openemu-experimental.rb

@ -13,36 +13,34 @@ cask 'openemu-experimental' do
app 'OpenEmu.app' app 'OpenEmu.app'
zap delete: [ zap trash: [
'~/Library/Caches/org.openemu.OpenEmu', '~/Library/Application Support/OpenEmu',
'~/Library/Saved Application State/org.openemu.OpenEmu.savedState', '~/Library/Application Support/org.openemu.OEXPCCAgent.Agents',
'~/Library/Cookies/org.openemu.OpenEmu.binarycookies', '~/Library/Caches/org.openemu.OpenEmu',
], '~/Library/Cookies/org.openemu.OpenEmu.binarycookies',
trash: [ '~/Library/Preferences/org.openemu.Atari800.plist',
'~/Library/Application Support/OpenEmu', '~/Library/Preferences/org.openemu.Bliss.plist',
'~/Library/Application Support/org.openemu.OEXPCCAgent.Agents', '~/Library/Preferences/org.openemu.CrabEmu.plist',
'~/Library/Preferences/org.openemu.Atari800.plist', '~/Library/Preferences/org.openemu.desmume.plist',
'~/Library/Preferences/org.openemu.Bliss.plist', '~/Library/Preferences/org.openemu.FCEU.plist',
'~/Library/Preferences/org.openemu.CrabEmu.plist', '~/Library/Preferences/org.openemu.Gambatte.plist',
'~/Library/Preferences/org.openemu.desmume.plist', '~/Library/Preferences/org.openemu.GenesisPlus.plist',
'~/Library/Preferences/org.openemu.FCEU.plist', '~/Library/Preferences/org.openemu.Higan.plist',
'~/Library/Preferences/org.openemu.Gambatte.plist', '~/Library/Preferences/org.openemu.Mednafen.plist',
'~/Library/Preferences/org.openemu.GenesisPlus.plist', '~/Library/Preferences/org.openemu.Mupen64Plus.plist',
'~/Library/Preferences/org.openemu.Higan.plist', '~/Library/Preferences/org.openemu.NeoPop.plist',
'~/Library/Preferences/org.openemu.Mednafen.plist', '~/Library/Preferences/org.openemu.Nestopia.plist',
'~/Library/Preferences/org.openemu.Mupen64Plus.plist', '~/Library/Preferences/org.openemu.O2EM.plist',
'~/Library/Preferences/org.openemu.NeoPop.plist', '~/Library/Preferences/org.openemu.OpenEmu.plist',
'~/Library/Preferences/org.openemu.Nestopia.plist', '~/Library/Preferences/org.openemu.Picodrive.plist',
'~/Library/Preferences/org.openemu.O2EM.plist', '~/Library/Preferences/org.openemu.PPSSPP.plist',
'~/Library/Preferences/org.openemu.OpenEmu.plist', '~/Library/Preferences/org.openemu.ProSystem.plist',
'~/Library/Preferences/org.openemu.Picodrive.plist', '~/Library/Preferences/org.openemu.SNES9x.plist',
'~/Library/Preferences/org.openemu.PPSSPP.plist', '~/Library/Preferences/org.openemu.Stella.plist',
'~/Library/Preferences/org.openemu.ProSystem.plist', '~/Library/Preferences/org.openemu.TwoMbit.plist',
'~/Library/Preferences/org.openemu.SNES9x.plist', '~/Library/Preferences/org.openemu.VecXGL.plist',
'~/Library/Preferences/org.openemu.Stella.plist', '~/Library/Preferences/org.openemu.VisualBoyAdvance.plist',
'~/Library/Preferences/org.openemu.TwoMbit.plist', '~/Library/Preferences/org.openemu.mGBA.plist',
'~/Library/Preferences/org.openemu.VecXGL.plist', '~/Library/Saved Application State/org.openemu.OpenEmu.savedState',
'~/Library/Preferences/org.openemu.VisualBoyAdvance.plist', ]
'~/Library/Preferences/org.openemu.mGBA.plist',
]
end end

18
Casks/parallels11.rb

@ -32,13 +32,13 @@ cask 'parallels11' do
'/usr/bin/prlsrvctl', '/usr/bin/prlsrvctl',
] ]
zap delete: [ zap trash: [
'~/.parallels_settings', '~/.parallels_settings',
'~/Library/Caches/com.parallels.desktop.console', '~/Library/Caches/com.parallels.desktop.console',
'~/Library/Preferences/com.parallels.desktop.console.LSSharedFileList.plist', '~/Library/Preferences/com.parallels.desktop.console.LSSharedFileList.plist',
'~/Library/Preferences/com.parallels.desktop.console.plist', '~/Library/Preferences/com.parallels.desktop.console.plist',
'~/Library/Preferences/com.parallels.Parallels Desktop Statistics.plist', '~/Library/Preferences/com.parallels.Parallels Desktop Statistics.plist',
'~/Library/Preferences/com.parallels.Parallels Desktop.plist', '~/Library/Preferences/com.parallels.Parallels Desktop.plist',
'~/Library/Preferences/com.parallels.Parallels.plist', '~/Library/Preferences/com.parallels.Parallels.plist',
] ]
end end

18
Casks/parallels12.rb

@ -34,13 +34,13 @@ cask 'parallels12' do
'/usr/local/bin/prlsrvctl', '/usr/local/bin/prlsrvctl',
] ]
zap delete: [ zap trash: [
'~/.parallels_settings', '~/.parallels_settings',
'~/Library/Caches/com.parallels.desktop.console', '~/Library/Caches/com.parallels.desktop.console',
'~/Library/Preferences/com.parallels.desktop.console.LSSharedFileList.plist', '~/Library/Preferences/com.parallels.desktop.console.LSSharedFileList.plist',
'~/Library/Preferences/com.parallels.desktop.console.plist', '~/Library/Preferences/com.parallels.desktop.console.plist',
'~/Library/Preferences/com.parallels.Parallels Desktop Statistics.plist', '~/Library/Preferences/com.parallels.Parallels Desktop Statistics.plist',
'~/Library/Preferences/com.parallels.Parallels Desktop.plist', '~/Library/Preferences/com.parallels.Parallels Desktop.plist',
'~/Library/Preferences/com.parallels.Parallels.plist', '~/Library/Preferences/com.parallels.Parallels.plist',
] ]
end end

8
Casks/pgadmin3.rb

@ -11,8 +11,8 @@ cask 'pgadmin3' do
app 'pgAdmin3.app' app 'pgAdmin3.app'
zap delete: [ zap trash: [
'~/Library/Preferences/pgadmin3 Preferences', '~/Library/Preferences/pgadmin3 Preferences',
'~/Library/Saved Application State/org.postgresql.pgadmin.savedState', '~/Library/Saved Application State/org.postgresql.pgadmin.savedState',
] ]
end end

16
Casks/porting-kit-legacy.rb

@ -11,12 +11,12 @@ cask 'porting-kit-legacy' do
app 'Porting Kit Legacy.app' app 'Porting Kit Legacy.app'
zap delete: [ zap trash: [
'~/Library/Preferences/edu.ufrj.vitormm.Porting-Kit-Legacy.plist', '~/Library/Preferences/edu.ufrj.vitormm.Porting-Kit-Legacy.plist',
'~/Library/Application Support/Porting-Kit-Legacy', '~/Library/Application Support/Porting-Kit-Legacy',
'~/Library/Saved Application State/edu.ufrj.vitormm.Porting-Kit-Legacy.savedState', '~/Library/Saved Application State/edu.ufrj.vitormm.Porting-Kit-Legacy.savedState',
'~/Library/Caches/edu.ufrj.vitormm.Porting-Kit-Legacy', '~/Library/Caches/edu.ufrj.vitormm.Porting-Kit-Legacy',
'~/Library/Cookies/edu.ufrj.vitormm.Porting-Kit-Legacy.binarycookies', '~/Library/Cookies/edu.ufrj.vitormm.Porting-Kit-Legacy.binarycookies',
'~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/edu.ufrj.vitormm.porting-kit-legacy.sfl*', '~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/edu.ufrj.vitormm.porting-kit-legacy.sfl*',
] ]
end end

2
Casks/processing2.rb

@ -10,5 +10,5 @@ cask 'processing2' do
app 'Processing.app' app 'Processing.app'
zap delete: '~/Library/Processing/preferences.txt' zap trash: '~/Library/Processing/preferences.txt'
end end

10
Casks/psi-plus.rb

@ -13,9 +13,9 @@ cask 'psi-plus' do
uninstall quit: 'com.googlecode.psi-dev' uninstall quit: 'com.googlecode.psi-dev'
zap delete: [ zap trash: [
'~/Library/Saved Application State/com.googlecode.psi-dev.savedState', '~/Library/Saved Application State/com.googlecode.psi-dev.savedState',
'~/Library/Caches/Psi+', '~/Library/Caches/Psi+',
'~/Library/Application Support/Psi+', '~/Library/Application Support/Psi+',
] ]
end end

10
Casks/rhinoceroswip.rb

@ -13,9 +13,9 @@ cask 'rhinoceroswip' do
app 'RhinoWIP.app' app 'RhinoWIP.app'
zap delete: [ zap trash: [
'~/Library/Preferences/com.mcneel.rhinoceros.plist', '~/Library/Preferences/com.mcneel.rhinoceros.plist',
'~/Library/Caches/com.mcneel.rhinoceros', '~/Library/Caches/com.mcneel.rhinoceros',
'~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.mcneel.rhinoceros.sfl*', '~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.mcneel.rhinoceros.sfl*',
] ]
end end

2
Casks/rstudio-daily.rb

@ -8,5 +8,5 @@ cask 'rstudio-daily' do
app 'RStudio.app' app 'RStudio.app'
zap delete: '~/.rstudio-desktop' zap trash: '~/.rstudio-desktop'
end end

2
Casks/rstudio-preview.rb

@ -9,5 +9,5 @@ cask 'rstudio-preview' do
app 'RStudio.app' app 'RStudio.app'
zap delete: '~/.rstudio-desktop' zap trash: '~/.rstudio-desktop'
end end

24
Casks/safari-technology-preview.rb

@ -18,17 +18,15 @@ cask 'safari-technology-preview' do
uninstall delete: '/Applications/Safari Technology Preview.app' uninstall delete: '/Applications/Safari Technology Preview.app'
zap delete: [ zap trash: [
'~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.apple.safaritechnologypreview.sfl*', '~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.apple.safaritechnologypreview.sfl*',
'~/Library/Caches/com.apple.SafariTechnologyPreview', '~/Library/Caches/com.apple.SafariTechnologyPreview',
'~/Library/Saved Application State/com.apple.SafariTechnologyPreview.savedState', '~/Library/Preferences/com.apple.SafariTechnologyPreview.plist',
'~/Library/WebKit/com.apple.SafariTechnologyPreview', '~/Library/SafariTechnologyPreview',
], '~/Library/Saved Application State/com.apple.SafariTechnologyPreview.savedState',
trash: [ '~/Library/SyncedPreferences/com.apple.SafariTechnologyPreview-com.apple.Safari.UserRequests.plist',
'~/Library/Preferences/com.apple.SafariTechnologyPreview.plist', '~/Library/SyncedPreferences/com.apple.SafariTechnologyPreview-com.apple.Safari.WebFeedSubscriptions.plist',
'~/Library/SafariTechnologyPreview', '~/Library/SyncedPreferences/com.apple.SafariTechnologyPreview.plist',
'~/Library/SyncedPreferences/com.apple.SafariTechnologyPreview-com.apple.Safari.UserRequests.plist', '~/Library/WebKit/com.apple.SafariTechnologyPreview',
'~/Library/SyncedPreferences/com.apple.SafariTechnologyPreview-com.apple.Safari.WebFeedSubscriptions.plist', ]
'~/Library/SyncedPreferences/com.apple.SafariTechnologyPreview.plist',
]
end end

2
Casks/sequel-pro-nightly.rb

@ -15,5 +15,5 @@ cask 'sequel-pro-nightly' do
app 'Sequel Pro.app' app 'Sequel Pro.app'
zap delete: '~/Library/Application Support/Sequel Pro/Data' zap trash: '~/Library/Application Support/Sequel Pro/Data'
end end

12
Casks/shimo3.rb

@ -9,10 +9,10 @@ cask 'shimo3' do
app 'Shimo.app' app 'Shimo.app'
zap delete: [ zap trash: [
'~/Library/Application Support/Shimo', '~/Library/Application Support/Shimo',
'~/Library/Preferences/com.chungwasoft.Shimo.plist', '~/Library/Preferences/com.chungwasoft.Shimo.plist',
'~/Library/Caches/com.chungwasoft.Shimo', '~/Library/Caches/com.chungwasoft.Shimo',
'/Library/PrivilegedHelperTools/com.chungwasoft.shimo.helper', '/Library/PrivilegedHelperTools/com.chungwasoft.shimo.helper',
] ]
end end

20
Casks/slack-beta.rb

@ -13,14 +13,14 @@ cask 'slack-beta' do
uninstall quit: 'com.tinyspeck.slackmacgap' uninstall quit: 'com.tinyspeck.slackmacgap'
zap delete: [ zap trash: [
'~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.tinyspeck.slackmacgap.sfl*', '~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.tinyspeck.slackmacgap.sfl*',
'~/Library/Application Support/Slack', '~/Library/Application Support/Slack',
'~/Library/Caches/com.tinyspeck.slackmacgap', '~/Library/Caches/com.tinyspeck.slackmacgap',
'~/Library/Containers/com.tinyspeck.slackmacgap', '~/Library/Containers/com.tinyspeck.slackmacgap',
'~/Library/Containers/com.tinyspeck.slackmacgap.SlackCallsService', '~/Library/Containers/com.tinyspeck.slackmacgap.SlackCallsService',
'~/Library/Cookies/com.tinyspeck.slackmacgap.binarycookies', '~/Library/Cookies/com.tinyspeck.slackmacgap.binarycookies',
'~/Library/Preferences/com.tinyspeck.slackmacgap.plist', '~/Library/Preferences/com.tinyspeck.slackmacgap.plist',
'~/Library/Saved Application State/com.tinyspeck.slackmacgap.savedState', '~/Library/Saved Application State/com.tinyspeck.slackmacgap.savedState',
] ]
end end

14
Casks/sourcetree-alpha.rb

@ -18,11 +18,11 @@ cask 'sourcetree-alpha' do
uninstall launchctl: 'com.atlassian.SourceTreePrivilegedHelper2', uninstall launchctl: 'com.atlassian.SourceTreePrivilegedHelper2',
quit: 'com.torusknot.SourceTreeNotMAS' quit: 'com.torusknot.SourceTreeNotMAS'
zap delete: [ zap trash: [
'~/Library/Application Support/SourceTree', '~/Library/Application Support/SourceTree',
'~/Library/Caches/com.torusknot.SourceTreeNotMAS', '~/Library/Caches/com.torusknot.SourceTreeNotMAS',
'~/Library/Preferences/com.torusknot.SourceTreeNotMAS.plist', '~/Library/Preferences/com.torusknot.SourceTreeNotMAS.plist',
'~/Library/Preferences/com.torusknot.SourceTreeNotMAS.LSSharedFileList.plist', '~/Library/Preferences/com.torusknot.SourceTreeNotMAS.LSSharedFileList.plist',
'~/Library/Saved Application State/com.torusknot.SourceTreeNotMAS.savedState', '~/Library/Saved Application State/com.torusknot.SourceTreeNotMAS.savedState',
] ]
end end

14
Casks/sourcetree-beta.rb

@ -18,11 +18,11 @@ cask 'sourcetree-beta' do
uninstall launchctl: 'com.atlassian.SourceTreePrivilegedHelper2', uninstall launchctl: 'com.atlassian.SourceTreePrivilegedHelper2',
quit: 'com.torusknot.SourceTreeNotMAS' quit: 'com.torusknot.SourceTreeNotMAS'
zap delete: [ zap trash: [
'~/Library/Application Support/SourceTree', '~/Library/Application Support/SourceTree',
'~/Library/Caches/com.torusknot.SourceTreeNotMAS', '~/Library/Caches/com.torusknot.SourceTreeNotMAS',
'~/Library/Preferences/com.torusknot.SourceTreeNotMAS.plist', '~/Library/Preferences/com.torusknot.SourceTreeNotMAS.plist',
'~/Library/Preferences/com.torusknot.SourceTreeNotMAS.LSSharedFileList.plist', '~/Library/Preferences/com.torusknot.SourceTreeNotMAS.LSSharedFileList.plist',
'~/Library/Saved Application State/com.torusknot.SourceTreeNotMAS.savedState', '~/Library/Saved Application State/com.torusknot.SourceTreeNotMAS.savedState',
] ]
end end

14
Casks/sublime-text-dev.rb

@ -15,12 +15,10 @@ cask 'sublime-text-dev' do
uninstall quit: 'com.sublimetext.3' uninstall quit: 'com.sublimetext.3'
zap delete: [ zap trash: [
'~/Library/Caches/com.sublimetext.3', '~/Library/Application Support/Sublime Text 3',
'~/Library/Saved Application State/com.sublimetext.3.savedState', '~/Library/Caches/com.sublimetext.3',
], '~/Library/Preferences/com.sublimetext.3.plist',
trash: [ '~/Library/Saved Application State/com.sublimetext.3.savedState',
'~/Library/Application Support/Sublime Text 3', ]
'~/Library/Preferences/com.sublimetext.3.plist',
]
end end

12
Casks/sublime-text2.rb

@ -11,10 +11,10 @@ cask 'sublime-text2' do
app 'Sublime Text 2.app' app 'Sublime Text 2.app'
binary "#{appdir}/Sublime Text 2.app/Contents/SharedSupport/bin/subl" binary "#{appdir}/Sublime Text 2.app/Contents/SharedSupport/bin/subl"
zap delete: [ zap trash: [
'~/Library/Application Support/Sublime Text 2', '~/Library/Application Support/Sublime Text 2',
'~/Library/Preferences/com.sublimetext.2.plist', '~/Library/Preferences/com.sublimetext.2.plist',
'~/Library/Caches/com.sublimetext.2', '~/Library/Caches/com.sublimetext.2',
'~/Library/Saved Application State/com.sublimetext.2.savedState', '~/Library/Saved Application State/com.sublimetext.2.savedState',
] ]
end end

10
Casks/tower-beta.rb

@ -12,9 +12,9 @@ cask 'tower-beta' do
app 'Tower.app' app 'Tower.app'
binary "#{appdir}/Tower.app/Contents/MacOS/gittower" binary "#{appdir}/Tower.app/Contents/MacOS/gittower"
zap delete: [ zap trash: [
'~/Library/Application Support/com.fournova.Tower2', '~/Library/Application Support/com.fournova.Tower2',
'~/Library/Caches/com.fournova.Tower2', '~/Library/Caches/com.fournova.Tower2',
'~/Library/Preferences/com.fournova.Tower2.plist', '~/Library/Preferences/com.fournova.Tower2.plist',
] ]
end end

16
Casks/tunnelblick-beta.rb

@ -23,15 +23,13 @@ cask 'tunnelblick-beta' do
], ],
quit: 'net.tunnelblick.tunnelblick' quit: 'net.tunnelblick.tunnelblick'
zap delete: [ zap trash: [
'~/Library/Caches/com.apple.helpd/SDMHelpData/Other/English/HelpSDMIndexFile/net.tunnelblick.tunnelblick.help*', '/Library/Application Support/Tunnelblick',
'~/Library/Caches/net.tunnelblick.tunnelblick', '~/Library/Application Support/Tunnelblick',
], '~/Library/Caches/com.apple.helpd/SDMHelpData/Other/English/HelpSDMIndexFile/net.tunnelblick.tunnelblick.help*',
trash: [ '~/Library/Caches/net.tunnelblick.tunnelblick',
'/Library/Application Support/Tunnelblick', '~/Library/Preferences/net.tunnelblick.tunnelblick.plist',
'~/Library/Application Support/Tunnelblick', ]
'~/Library/Preferences/net.tunnelblick.tunnelblick.plist',
]
caveats <<~EOS caveats <<~EOS
For security reasons, #{token} must be installed to /Applications, For security reasons, #{token} must be installed to /Applications,

24
Casks/virtualbox-beta.rb

@ -25,17 +25,15 @@ cask 'virtualbox-beta' do
}, },
pkgutil: 'org.virtualbox.pkg.*' pkgutil: 'org.virtualbox.pkg.*'
zap delete: [ zap trash: [
'~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/org.virtualbox.app.virtualbox.sfl*', '/Library/Application Support/VirtualBox',
'~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/org.virtualbox.app.virtualboxvm.sfl*', '~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/org.virtualbox.app.virtualbox.sfl*',
'~/Library/Saved Application State/org.virtualbox.app.VirtualBox.savedState', '~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/org.virtualbox.app.virtualboxvm.sfl*',
'~/Library/Saved Application State/org.virtualbox.app.VirtualBoxVM.savedState', '~/Library/Preferences/org.virtualbox.app.VirtualBox.plist',
], '~/Library/Preferences/org.virtualbox.app.VirtualBoxVM.plist',
trash: [ '~/Library/Saved Application State/org.virtualbox.app.VirtualBox.savedState',
'/Library/Application Support/VirtualBox', '~/Library/Saved Application State/org.virtualbox.app.VirtualBoxVM.savedState',
'~/Library/VirtualBox', '~/Library/VirtualBox',
'~/Library/Preferences/org.virtualbox.app.VirtualBox.plist', ],
'~/Library/Preferences/org.virtualbox.app.VirtualBoxVM.plist', rmdir: '~/VirtualBox VMs'
],
rmdir: '~/VirtualBox VMs'
end end

18
Casks/visual-studio-code-insiders.rb

@ -16,14 +16,12 @@ cask 'visual-studio-code-insiders' do
app 'Visual Studio Code - Insiders.app' app 'Visual Studio Code - Insiders.app'
binary "#{appdir}/Visual Studio Code - Insiders.app/Contents/Resources/app/bin/code" binary "#{appdir}/Visual Studio Code - Insiders.app/Contents/Resources/app/bin/code"
zap delete: [ zap trash: [
'~/Library/Caches/Code - Insiders', '~/Library/Application Support/Code - Insiders',
'~/Library/Caches/com.microsoft.VSCodeInsiders', '~/Library/Caches/Code - Insiders',
'~/Library/Caches/com.microsoft.VSCodeInsiders.ShipIt', '~/Library/Caches/com.microsoft.VSCodeInsiders',
], '~/Library/Caches/com.microsoft.VSCodeInsiders.ShipIt',
trash: [ '~/Library/Preferences/com.microsoft.VSCodeInsiders.helper.plist',
'~/Library/Application Support/Code - Insiders', '~/Library/Preferences/com.microsoft.VSCodeInsiders.plist',
'~/Library/Preferences/com.microsoft.VSCodeInsiders.helper.plist', ]
'~/Library/Preferences/com.microsoft.VSCodeInsiders.plist',
]
end end

14
Casks/vmware-fusion7.rb

@ -17,11 +17,11 @@ cask 'vmware-fusion7' do
set_ownership "#{appdir}/VMware Fusion.app" set_ownership "#{appdir}/VMware Fusion.app"
end end
zap delete: [ zap trash: [
# note: '~/Library/Application Support/VMware Fusion' is not safe # note: '~/Library/Application Support/VMware Fusion' is not safe
# to delete. In older versions, VM images were located there. # to delete. In older versions, VM images were located there.
'~/Library/Caches/com.vmware.fusion', '~/Library/Caches/com.vmware.fusion',
'~/Library/Logs/VMware', '~/Library/Logs/VMware',
'~/Library/Logs/VMware Fusion', '~/Library/Logs/VMware Fusion',
] ]
end end

50
Casks/vmware-fusion8.rb

@ -44,30 +44,28 @@ cask 'vmware-fusion8' do
set_ownership "#{appdir}/VMware Fusion.app" set_ownership "#{appdir}/VMware Fusion.app"
end end
zap delete: [ zap trash: [
'/Library/Logs/VMware Fusion Services.log', '/Library/Application Support/VMware',
'/Library/Logs/VMware USB Arbitrator Service.log', '/Library/Logs/VMware Fusion Services.log',
'/Library/Logs/VMware', '/Library/Logs/VMware USB Arbitrator Service.log',
'~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.vmware.fusion.sfl*', '/Library/Logs/VMware',
'~/Library/Caches/com.vmware.fusion', '/Library/Preferences/VMware Fusion',
'~/Library/Logs/VMware Fusion', '~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.vmware.fusion.sfl*',
'~/Library/Logs/VMware Graphics Service.log', '~/Library/Application Support/VMware Fusion',
'~/Library/Logs/VMware', '~/Library/Caches/com.vmware.fusion',
'~/Library/Preferences/com.vmware.fusion.LSSharedFileList.plist', '~/Library/Logs/VMware Fusion',
'~/Library/Preferences/com.vmware.fusion.LSSharedFileList.plist.lockfile', '~/Library/Logs/VMware Graphics Service.log',
'~/Library/Saved Application State/com.vmware.fusion.savedState', '~/Library/Logs/VMware',
'~/Library/WebKit/com.vmware.fusion', '~/Library/Preferences/VMware Fusion',
], '~/Library/Preferences/com.vmware.fusion.plist',
trash: [ '~/Library/Preferences/com.vmware.fusion.plist.lockfile',
'/Library/Application Support/VMware', '~/Library/Preferences/com.vmware.fusionDaemon.plist',
'/Library/Preferences/VMware Fusion', '~/Library/Preferences/com.vmware.fusionDaemon.plist.lockfile',
'~/Library/Application Support/VMware Fusion', '~/Library/Preferences/com.vmware.fusionStartMenu.plist',
'~/Library/Preferences/VMware Fusion', '~/Library/Preferences/com.vmware.fusionStartMenu.plist.lockfile',
'~/Library/Preferences/com.vmware.fusion.plist', '~/Library/Preferences/com.vmware.fusion.LSSharedFileList.plist',
'~/Library/Preferences/com.vmware.fusion.plist.lockfile', '~/Library/Preferences/com.vmware.fusion.LSSharedFileList.plist.lockfile',
'~/Library/Preferences/com.vmware.fusionDaemon.plist', '~/Library/Saved Application State/com.vmware.fusion.savedState',
'~/Library/Preferences/com.vmware.fusionDaemon.plist.lockfile', '~/Library/WebKit/com.vmware.fusion',
'~/Library/Preferences/com.vmware.fusionStartMenu.plist', ]
'~/Library/Preferences/com.vmware.fusionStartMenu.plist.lockfile',
]
end end

Loading…
Cancel
Save