How to remove rainbow (pride) icon from sourcetree app?

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?


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:

  1. Launch the app from https://github.com/alexzielenski/ThemeEngine
  2. On the Sourcetree.app - right click - show package contents - Contents - resources.
  3. Copy Assets.car and sourcetree.icns to any folder.
  4. Run ThemeEngine.app (from extracted zip, above)
  5. In ThemeEngine open Assets.car file
  6. 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.
  7. Find the icon in the Assets.car with name Pridetree.
  8. Copy a new icon (image) to the clipboard and paste to Pridetree icons.
  9. Save the document.
  10. 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.