Created
March 18, 2012 08:03
-
-
Save sorrycc/2069822 to your computer and use it in GitHub Desktop.
Shell script to replace the Sublime Text 2 icon with a custom icon
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Change this to the path to your icns file | |
ICON="$HOME/Sublime Text 2.icns" | |
cp -f "$ICON" "/Applications/Sublime Text 2.app"/Contents/Resources | |
cp -r "/Applications/Sublime Text 2.app" "/Applications/Sublime Text 2 copy.app" | |
rm -rf "/Applications/Sublime Text 2.app" | |
mv "/Applications/Sublime Text 2 copy.app" "/Applications/Sublime Text 2.app" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment