Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mackup zap stanza import #6174

Merged
merged 88 commits into from
Sep 16, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
88 commits
Select commit Hold shift + click to select a range
3d42111
zap stanza from mackup for adium.rb
rolandwalker Sep 13, 2014
aefce29
zap stanza from mackup for atom.rb
rolandwalker Sep 13, 2014
2e966d0
zap stanza from mackup for awareness.rb
rolandwalker Sep 13, 2014
f03859a
zap stanza from mackup for bartender.rb
rolandwalker Sep 13, 2014
2da0835
zap stanza from mackup for bettertouchtool.rb
rolandwalker Sep 13, 2014
7084ceb
zap stanza from mackup for bibdesk.rb
rolandwalker Sep 13, 2014
b559588
zap stanza from mackup for brackets.rb
rolandwalker Sep 13, 2014
765a520
zap stanza from mackup for caffeine.rb
rolandwalker Sep 13, 2014
fe9e869
zap stanza from mackup for charles.rb
rolandwalker Sep 13, 2014
c80905e
zap stanza from mackup for chicken.rb
rolandwalker Sep 13, 2014
da47822
zap stanza from mackup for clementine.rb
rolandwalker Sep 13, 2014
844aeb6
zap stanza from mackup for clipmenu.rb
rolandwalker Sep 13, 2014
5c24252
zap stanza from mackup for cloud.rb
rolandwalker Sep 13, 2014
aba2763
zap stanza from mackup for cocoaspell.rb
rolandwalker Sep 13, 2014
a6e2277
zap stanza from mackup for coda.rb
rolandwalker Sep 13, 2014
f13fb4f
zap stanza from mackup for colloquy.rb
rolandwalker Sep 13, 2014
b56e981
zap stanza from mackup for concentrate.rb
rolandwalker Sep 13, 2014
07a1bd5
zap stanza from mackup for controlplane.rb
rolandwalker Sep 13, 2014
b0069ff
zap stanza from mackup for cord.rb
rolandwalker Sep 13, 2014
83e4e77
zap stanza from mackup for cyberduck.rb
rolandwalker Sep 13, 2014
174dede
zap stanza from mackup for dash.rb
rolandwalker Sep 13, 2014
10eca2b
zap stanza from mackup for default-folder-x.rb
rolandwalker Sep 13, 2014
0f4d507
zap stanza from mackup for divvy.rb
rolandwalker Sep 13, 2014
aedc185
zap stanza from mackup for dolphin.rb
rolandwalker Sep 13, 2014
b145e93
zap stanza from mackup for droplr.rb
rolandwalker Sep 13, 2014
eb2d559
zap stanza from mackup for enjoyable.rb
rolandwalker Sep 13, 2014
092a699
zap stanza from mackup for expandrive.rb
rolandwalker Sep 13, 2014
caae59f
zap stanza from mackup for fantastical.rb
rolandwalker Sep 13, 2014
992a364
zap stanza from mackup for feeds.rb
rolandwalker Sep 13, 2014
b8f35bd
zap stanza from mackup for filezilla.rb
rolandwalker Sep 13, 2014
481075a
zap stanza from mackup for flux.rb
rolandwalker Sep 13, 2014
20333ca
zap stanza from mackup for geektool.rb
rolandwalker Sep 13, 2014
4049357
zap stanza from mackup for gitbox.rb
rolandwalker Sep 13, 2014
0d78e39
zap stanza from mackup for gmail-notifr.rb
rolandwalker Sep 13, 2014
830cb6e
zap stanza from mackup for hands-off.rb
rolandwalker Sep 13, 2014
ab39a23
zap stanza from mackup for hazel.rb
rolandwalker Sep 13, 2014
b72a8ce
zap stanza from mackup for hexels.rb
rolandwalker Sep 13, 2014
dc4caad
zap stanza from mackup for iterm2.rb
rolandwalker Sep 13, 2014
23c2e73
zap stanza from mackup for karabiner.rb
rolandwalker Sep 13, 2014
df5f5a3
zap stanza from mackup for keka.rb
rolandwalker Sep 13, 2014
8d03447
zap stanza from mackup for keymo.rb
rolandwalker Sep 13, 2014
56ae419
zap stanza from mackup for latexit.rb
rolandwalker Sep 13, 2014
c288d2a
zap stanza from mackup for launchbar.rb
rolandwalker Sep 13, 2014
d34cbae
zap stanza from mackup for lighttable.rb
rolandwalker Sep 13, 2014
035c7b8
zap stanza from mackup for limechat.rb
rolandwalker Sep 13, 2014
afb1b36
zap stanza from mackup for little-snitch.rb
rolandwalker Sep 13, 2014
27bcc37
zap stanza from mackup for macvim.rb
rolandwalker Sep 13, 2014
bb0c948
zap stanza from mackup for magic-launch.rb
rolandwalker Sep 13, 2014
6809492
zap stanza from mackup for mailplane.rb
rolandwalker Sep 13, 2014
5175836
zap stanza from mackup for menumeters.rb
rolandwalker Sep 13, 2014
b165622
zap stanza from mackup for mercurymover.rb
rolandwalker Sep 13, 2014
ed7cad4
zap stanza from mackup for moom.rb
rolandwalker Sep 13, 2014
cfacb4f
zap stanza from mackup for mou.rb
rolandwalker Sep 13, 2014
bdbb16f
zap stanza from mackup for mpv.rb
rolandwalker Sep 13, 2014
141930b
zap stanza from mackup for ngrok.rb
rolandwalker Sep 13, 2014
24b7849
zap stanza from mackup for nvalt.rb
rolandwalker Sep 13, 2014
8a468db
zap stanza from mackup for omnifocus.rb
rolandwalker Sep 13, 2014
ac96f0b
zap stanza from mackup for omnigraffle.rb
rolandwalker Sep 13, 2014
bf8b27e
zap stanza from mackup for path-finder.rb
rolandwalker Sep 13, 2014
c22dc8c
zap stanza from mackup for pokerstars.rb
rolandwalker Sep 13, 2014
a2ff22f
zap stanza from mackup for processing.rb
rolandwalker Sep 13, 2014
6c4657a
zap stanza from mackup for quicksilver.rb
rolandwalker Sep 13, 2014
f67ea3d
zap stanza from mackup for r.rb
rolandwalker Sep 13, 2014
641071d
zap stanza from mackup for rubymine.rb
rolandwalker Sep 13, 2014
2b5af2f
zap stanza from mackup for sabnzbd.rb
rolandwalker Sep 13, 2014
52bb62e
zap stanza from mackup for seil.rb
rolandwalker Sep 13, 2014
38203c5
zap stanza from mackup for selfcontrol.rb
rolandwalker Sep 13, 2014
284f155
zap stanza from mackup for sequel-pro.rb
rolandwalker Sep 13, 2014
fcad57b
zap stanza from mackup for sizeup.rb
rolandwalker Sep 13, 2014
ca23a03
zap stanza from mackup for skim.rb
rolandwalker Sep 13, 2014
9bfdf48
zap stanza from mackup for skitch.rb
rolandwalker Sep 13, 2014
a47f351
zap stanza from mackup for skype.rb
rolandwalker Sep 13, 2014
bef4f04
zap stanza from mackup for slate.rb
rolandwalker Sep 13, 2014
bfc2294
zap stanza from mackup for soulver.rb
rolandwalker Sep 13, 2014
146adf6
zap stanza from mackup for sourcetree.rb
rolandwalker Sep 13, 2014
78e55ed
zap stanza from mackup for spark.rb
rolandwalker Sep 13, 2014
3ae2867
zap stanza from mackup for spectacle.rb
rolandwalker Sep 13, 2014
72af358
zap stanza from mackup for spotify.rb
rolandwalker Sep 13, 2014
80797e8
zap stanza from mackup for sublime-text.rb
rolandwalker Sep 13, 2014
bc33506
zap stanza from mackup for superduper.rb
rolandwalker Sep 13, 2014
8e4afb7
zap stanza from mackup for textmate.rb
rolandwalker Sep 13, 2014
3b5c049
zap stanza from mackup for tower.rb
rolandwalker Sep 13, 2014
e7dfc5b
zap stanza from mackup for transmission.rb
rolandwalker Sep 13, 2014
df06af5
zap stanza from mackup for transmit.rb
rolandwalker Sep 13, 2014
d9810d6
zap stanza from mackup for twitterrific.rb
rolandwalker Sep 13, 2014
70ce115
zap stanza from mackup for viscosity.rb
rolandwalker Sep 13, 2014
ceee1ad
zap stanza from mackup for witch.rb
rolandwalker Sep 13, 2014
9c59ea2
zap stanza from mackup for xld.rb
rolandwalker Sep 13, 2014
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Casks/adium.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +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',
]
end
10 changes: 10 additions & 0 deletions Casks/atom.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +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',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In cases like this, for example, shouldn’t we just specify ~/.atom once, and be done with it? This way, we’re specifying a bunch of individual files (subject to change), and leaving the directory.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point.

I have scripted this quite roughly from the mackup source and not reviewed/adapted.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is an instance of a general problem: ~/.atom may contain user-created files, the deletion of which could be unexpected or undesirable.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed. Although if you’re consciously zapping everything, you should probably be aware of that. How are we getting rid of them? If we trash files instead of deleting them, the problem may be mitigated.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:trash exists in the DSL now, but only works as a :files synonym.

The general problem is another good point. As policy, we should document that zap should not delete user-created content. On the technical side, we can add a :rmdir key that means rmdir-if-empty. That way, ~/.atom can still get cleaned up if no user content exists.

'~/.atom/init.coffee',
'~/.atom/keymap.cson',
'~/.atom/keymaps',
'~/.atom/packages',
'~/.atom/snippets.cson',
'~/.atom/styles.less',
]
end
1 change: 1 addition & 0 deletions Casks/awareness.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ class Awareness < Cask
homepage 'http://iamfutureproof.com/tools/awareness/'

app 'Awareness.app'
zap :files => '~/Library/Preferences/com.futureproof.awareness.plist'
end
1 change: 1 addition & 0 deletions Casks/bartender.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +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'
end
4 changes: 4 additions & 0 deletions Casks/bettertouchtool.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +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',
]
end
4 changes: 4 additions & 0 deletions Casks/bibdesk.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +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',
]
end
4 changes: 4 additions & 0 deletions Casks/brackets.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@ class Brackets < Cask
homepage 'http://brackets.io'

app 'Brackets.app'
zap :files => [
'~/Library/Application Support/Brackets',
'~/Library/Preferences/io.brackets.appshell.plist',
]
end
1 change: 1 addition & 0 deletions Casks/caffeine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ class Caffeine < Cask
homepage 'http://lightheadsw.com/caffeine/'

app 'Caffeine.app'
zap :files => '~/Library/Preferences/com.lightheadsw.Caffeine.plist'
end
4 changes: 4 additions & 0 deletions Casks/charles.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +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',
]
end
1 change: 1 addition & 0 deletions Casks/chicken.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ class Chicken < Cask
homepage 'http://sourceforge.net/projects/chicken/'

app 'Chicken.app'
zap :files => '~/Library/Preferences/net.sourceforge.chicken.plist'
end
1 change: 1 addition & 0 deletions Casks/clementine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ class Clementine < Cask
homepage 'http://www.clementine-player.org/'

app 'clementine.app'
zap :files => '~/Library/Preferences/org.clementine-player.Clementine.plist'
end
4 changes: 4 additions & 0 deletions Casks/clipmenu.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +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',
]
end
1 change: 1 addition & 0 deletions Casks/cloud.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ class Cloud < Cask
homepage 'http://getcloudapp.com/'

app 'Cloud.app'
zap :files => '~/Library/Preferences/com.linebreak.CloudAppMacOSX.plist'
end
8 changes: 8 additions & 0 deletions Casks/cocoaspell.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,12 @@ class Cocoaspell < Cask
Non-English dictionaries must be installed separately. For more information,
see http://people.ict.usc.edu/~leuski/cocoaspell/install_dict.php .
EOS
zap :files => [
'~/.aspell.conf',
'~/.aspell.en.prepl',
# Debatable. The Pws holds user-created content, though typically
# created through the application, and the user is not likely aware
# of this particular file.
# '~/.aspell.en.pws',
]
end
4 changes: 4 additions & 0 deletions Casks/coda.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +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',
]
end
4 changes: 4 additions & 0 deletions Casks/colloquy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,8 @@ class Colloquy < Cask
homepage 'http://colloquy.info/'

app 'Colloquy.app'
zap :files => [
'~/Library/Preferences/info.colloquy.plist',
'~/Library/Application Support/Colloquy',
]
end
1 change: 1 addition & 0 deletions Casks/concentrate.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ class Concentrate < Cask
homepage 'http://www.getconcentrating.com/'

app 'Concentrate.app'
zap :files => '~/Library/Application Support/Concentrate/Concentrate.sqlite3'
end
1 change: 1 addition & 0 deletions Casks/controlplane.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ class Controlplane < Cask
homepage 'http://www.controlplaneapp.com/'

app 'ControlPlane.app'
zap :files => '~/Library/Preferences/com.dustinrue.ControlPlane.plist'
end
1 change: 1 addition & 0 deletions Casks/cord.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ class Cord < Cask
homepage 'http://cord.sourceforge.net/'

app 'CoRD.app'
zap :files => '~/Library/Application Support/CoRD'
end
4 changes: 4 additions & 0 deletions Casks/cyberduck.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,8 @@ class Cyberduck < Cask
homepage 'http://cyberduck.io/'

app 'Cyberduck.app'
zap :files => [
'~/Library/Application Support/Cyberduck',
'~/Library/Preferences/ch.sudo.cyberduck.plist',
]
end
4 changes: 4 additions & 0 deletions Casks/dash.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +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',
]
end
5 changes: 5 additions & 0 deletions Casks/default-folder-x.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +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',
]
end
4 changes: 4 additions & 0 deletions Casks/divvy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +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',
]
end
4 changes: 4 additions & 0 deletions Casks/dolphin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +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',
]
end
1 change: 1 addition & 0 deletions Casks/droplr.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ class Droplr < Cask
homepage 'https://www.droplr.com/'

app 'Droplr.app'
zap :files => '~/Library/Preferences/com.droplr.droplr-mac.plist'
end
1 change: 1 addition & 0 deletions Casks/enjoyable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ class Enjoyable < Cask
homepage 'http://yukkurigames.com/enjoyable/'

app 'Enjoyable.app'
zap :files => '~/Library/Preferences/com.yukkurigames.Enjoyable.plist'
end
5 changes: 5 additions & 0 deletions Casks/expandrive.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +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',
]
end
1 change: 1 addition & 0 deletions Casks/fantastical.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +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'
end
1 change: 1 addition & 0 deletions Casks/feeds.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ class Feeds < Cask
homepage 'http://www.feedsapp.com/'

app 'Feeds.app'
zap :files => '~/Library/Preferences/com.feedsapp.Feeds.plist'
end
2 changes: 2 additions & 0 deletions Casks/filezilla.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ class Filezilla < Cask
homepage 'https://filezilla-project.org/'

app 'FileZilla.app'
# todo verify that this does not contain user-generate content
# zap :files => '~/.filezilla'
end
1 change: 1 addition & 0 deletions Casks/flux.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +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'
end
11 changes: 9 additions & 2 deletions Casks/geektool.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
class Geektool < Cask
version '3.1.1-311'
version '3.1.1-311'
sha256 'ef1a7439d91f0de9e459a4677c6f95fe35bd7e02c300adc9ce315b5590cbbfc9'

url 'http://download.tynsoe.org/GeekTool-3.1.1-311.zip'
appcast 'http://dl.dropboxusercontent.com/u/1760713/appcast/appcast.xml'
homepage 'http://projects.tynsoe.org/en/geektool/'

app 'GeekTool.app'
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',
]
end
1 change: 1 addition & 0 deletions Casks/gitbox.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ class Gitbox < Cask
homepage 'http://gitboxapp.com/'

app 'Gitbox.app'
zap :files => '~/Library/Preferences/com.oleganza.gitbox.plist'
end
1 change: 1 addition & 0 deletions Casks/gmail-notifr.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ class GmailNotifr < Cask
homepage 'http://ashchan.com/projects/gmail-notifr'

app 'Gmail Notifr.app'
zap :files => '~/Library/Preferences/com.ashchan.GmailNotifr.plist'
end
1 change: 1 addition & 0 deletions Casks/hands-off.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ class HandsOff < Cask
homepage 'http://www.metakine.com/products/handsoff/'

app 'Hands Off!.app'
zap :files => '~/Library/Preferences/com.metakine.handsoff.plist'
end
4 changes: 4 additions & 0 deletions Casks/hazel.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +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',
]
end
1 change: 1 addition & 0 deletions Casks/hexels.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ class Hexels < Cask
homepage 'http://hexraystudios.com/hexels/'

app 'Hexels.app'
zap :files => '~/Library/Preferences/com.hex-ray.hexels.plist'
end
1 change: 1 addition & 0 deletions Casks/iterm2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ class Iterm2 < Cask
homepage 'http://www.iterm2.com/'

app 'iTerm.app'
zap :files => '~/Library/Preferences/com.googlecode.iterm2.plist'
end
7 changes: 7 additions & 0 deletions Casks/karabiner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +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',
]
# todo :rmdir not yet supported
# :rmdir '~/Library/Application Support/Karabiner'
end
1 change: 1 addition & 0 deletions Casks/keka.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ class Keka < Cask
homepage 'http://kekaosx.com/'

app 'Keka.app'
zap :files => '~/Library/Preferences/com.aone.keka.plist'
end
1 change: 1 addition & 0 deletions Casks/keymo.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ class Keymo < Cask
homepage 'http://manytricks.com/keymo'

app 'Keymo.app'
zap :files => '~/Library/Preferences/com.manytricks.Keymo.plist'
end
1 change: 1 addition & 0 deletions Casks/latexit.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ class Latexit < Cask
homepage 'http://www.chachatelier.fr/latexit'

app 'LaTeXiT.app'
zap :files => '~/Library/Preferences/fr.chachatelier.pierre.LaTeXiT.plist'
end
8 changes: 8 additions & 0 deletions Casks/launchbar.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +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',
]
end
5 changes: 5 additions & 0 deletions Casks/lighttable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +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',
]
end
1 change: 1 addition & 0 deletions Casks/limechat.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ class Limechat < Cask
homepage 'http://limechat.net/mac/'

app 'LimeChat.app'
zap :files => '~/Library/Preferences/net.limechat.LimeChat-AppStore.plist'
end
6 changes: 6 additions & 0 deletions Casks/little-snitch.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +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',
]
end
4 changes: 4 additions & 0 deletions Casks/macvim.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +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',
]
end
1 change: 1 addition & 0 deletions Casks/magic-launch.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +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'
end
1 change: 1 addition & 0 deletions Casks/mailplane.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ class Mailplane < Cask
homepage 'http://mailplaneapp.com'

app 'Mailplane 3.app'
zap :files => '~/Library/Preferences/com.mailplaneapp.Mailplane.plist'
end
Loading