Skip to content

Commit

Permalink
Merge pull request #6174 from rolandwalker/mackup_import
Browse files Browse the repository at this point in the history
Mackup zap stanza import
  • Loading branch information
rolandwalker committed Sep 16, 2014
2 parents 25cce1e + 9c59ea2 commit a35bc38
Show file tree
Hide file tree
Showing 88 changed files with 274 additions and 2 deletions.
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',
'~/.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

0 comments on commit a35bc38

Please sign in to comment.