{"action":"created","issue":{"url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/1600","labels_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/1600/labels{/name}","comments_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/1600/comments","events_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/1600/events","html_url":"https://github.com/syl20bnr/spacemacs/pull/1600","id":76734351,"number":1600,"title":"Add spacemacs OS X icon asset for Emacs.app","user":{"login":"ptb","id":5335,"avatar_url":"https://avatars.githubusercontent.com/u/5335?v=3","gravatar_id":"","url":"https://api.github.com/users/ptb","html_url":"https://github.com/ptb","followers_url":"https://api.github.com/users/ptb/followers","following_url":"https://api.github.com/users/ptb/following{/other_user}","gists_url":"https://api.github.com/users/ptb/gists{/gist_id}","starred_url":"https://api.github.com/users/ptb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ptb/subscriptions","organizations_url":"https://api.github.com/users/ptb/orgs","repos_url":"https://api.github.com/users/ptb/repos","events_url":"https://api.github.com/users/ptb/events{/privacy}","received_events_url":"https://api.github.com/users/ptb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-05-15T13:56:58Z","updated_at":"2015-05-15T18:36:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/syl20bnr/spacemacs/pulls/1600","html_url":"https://github.com/syl20bnr/spacemacs/pull/1600","diff_url":"https://github.com/syl20bnr/spacemacs/pull/1600.diff","patch_url":"https://github.com/syl20bnr/spacemacs/pull/1600.patch"},"body":"To replace the default Emacs.app icon with the spacemacs icon:\r\n\r\n/bin/cp ~/.emacs.d/assets/spacemacs.icns /Applications/Emacs.app/Contents/Resources/\r\n/usr/bin/defaults write /Applications/Emacs.app/Contents/Info 'CFBundleIconFile' -string 'spacemacs.icns'\r\n/usr/bin/plutil -convert xml1 /Applications/Emacs.app/Contents/Info.plist\r\n/usr/bin/touch /Applications/Emacs.app\r\n/usr/bin/killall Dock && /usr/bin/killall Finder\r\n\r\nThese steps should not ever be necessary, but are included for completeness:\r\n\r\n/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain user\r\n/usr/bin/sudo /usr/bin/find /private/var/folders/ -name com.apple.dock.iconcache -exec /bin/rm {} \\;\r\n/usr/bin/sudo /usr/bin/find /private/var/folders/ -name com.apple.iconservices -exec /bin/rm -rf {} \\;\r\n/usr/bin/sudo /bin/mv /Library/Caches/com.apple.iconservices.store /.Trashes/\r\n/usr/bin/sudo /sbin/reboot\r\n\r\nTo re-build the spacemacs.icns file, follow these instructions:\r\n\r\n<http://stackoverflow.com/questions/6337787/how-can-i-set-the-icon-for-a-mac-application-in-xcode/12156032#12156032>"},"comment":{"url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/comments/102487580","html_url":"https://github.com/syl20bnr/spacemacs/pull/1600#issuecomment-102487580","issue_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/1600","id":102487580,"user":{"login":"nashamri","id":1207107,"avatar_url":"https://avatars.githubusercontent.com/u/1207107?v=3","gravatar_id":"","url":"https://api.github.com/users/nashamri","html_url":"https://github.com/nashamri","followers_url":"https://api.github.com/users/nashamri/followers","following_url":"https://api.github.com/users/nashamri/following{/other_user}","gists_url":"https://api.github.com/users/nashamri/gists{/gist_id}","starred_url":"https://api.github.com/users/nashamri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nashamri/subscriptions","organizations_url":"https://api.github.com/users/nashamri/orgs","repos_url":"https://api.github.com/users/nashamri/repos","events_url":"https://api.github.com/users/nashamri/events{/privacy}","received_events_url":"https://api.github.com/users/nashamri/received_events","type":"User","site_admin":false},"created_at":"2015-05-15T18:36:22Z","updated_at":"2015-05-15T18:36:22Z","body":"I don't use OS X but I can see this new icon is smaller in size. @ptb if you send this PR to my repo, I'll merge it there."}}