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

37

3

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?

Michał Białkowski

Posted 2019-06-19T11:48:31.203

Reputation: 527

It will change back at the end of this month. Can you wait that long? – Burgi – 2019-06-19T12:06:29.623

4

@slhck - It fights that change, apparently. There's a method posted this morning on AD - https://apple.stackexchange.com/questions/362676/how-do-i-change-icon-shown-in-dock-for-a-macos-app tbh, I don't know what all the fuss is about.

– Tetsujin – 2019-06-19T12:07:14.560

@Tetsujin Yeah, I don't see why you'd go to such great lengths to remove that. Feel free to post the actual answer (https://community.atlassian.com/t5/Sourcetree-discussions/The-way-to-change-icon-for-Sourcetree-app/td-p/1110914) here though.

– slhck – 2019-06-19T12:08:45.123

6It can come as default but I think there should be an option to change it. – ecabuk – 2019-06-19T15:53:49.367

3

On the contrary, @Tetsujin, there's a solution for Google, too: https://chrome.google.com/webstore/detail/doodle-blocker-for-google/jfcifhfgpkjakpfmilfkfjnfabgmhpnl

– Michael Grant – 2019-06-20T00:53:09.983

5It 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ørgensen – 2019-06-23T12:44:53.863

Answers

32

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.

George Pliman

Posted 2019-06-19T11:48:31.203

Reputation: 321

10

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.

Tetsujin

Posted 2019-06-19T11:48:31.203

Reputation: 22 456

This doesn¡t work. – Nisanio – 2019-06-20T20:10:41.253