I have a problem with Sourcetree App for Mac. I do not like the new icon, I prefer the standard one. How to restore it?
-
It will change back at the end of this month. Can you wait that long?– BurgiJun 19, 2019 at 12:06
-
4@slhck - It fights that change, apparently. There's a method posted this morning on AD - apple.stackexchange.com/questions/362676/… tbh, I don't know what all the fuss is about.– TetsujinJun 19, 2019 at 12:07
-
6It can come as default but I think there should be an option to change it.– ecabukJun 19, 2019 at 15:53
-
3On the contrary, @Tetsujin, there's a solution for Google, too: chrome.google.com/webstore/detail/doodle-blocker-for-google/…– Michael GrantJun 20, 2019 at 0:53
-
6It was fun for a day or two, but it broke my muscle memory of being able to cmd+tab/alt+tab over to Sourcetree by relying on the icon. So it's fair enough to ask how to change it back.– Claus JørgensenJun 23, 2019 at 12:44
2 Answers
Close the app, run this one liner:
perl -i -p -e 's/Pridetree/Bridetree/;' /Applications/Sourcetree.app/Contents/Resources/Assets.car
Then restart the app.
You may want to backup Assets.car just in case you want the colourful logo back.
Discovered on community.atlassian.com
The way to change icon for Sourcetree app
There is a solution how to change the icon for the Mac:
- Launch the app from https://github.com/alexzielenski/ThemeEngine
- On the Sourcetree.app - right click - show package contents - Contents - resources.
- Copy Assets.car and sourcetree.icns to any folder.
- Run ThemeEngine.app (from extracted zip, above)
- In ThemeEngine open Assets.car file
- Extract icons from sourctree.icns file (simple copy-paste) and save new icons with Photoshop with 512x512 and 1024x1024 pixels. Or find any icons for replacing.
- Find the icon in the Assets.car with name Pridetree.
- Copy a new icon (image) to the clipboard and paste to Pridetree icons.
- Save the document.
- Replace Assets.car in the app Contents/Resources folder version of my Sourcetree is 3.0.1
Don't forget to create a backup file. Try this at your own risk.