I had used CandyBar to change my Mail.app icon. After apply the 10.8.2 Supplemental Update 1, the Mail.app icon has reverted. How can I prevent that from happening in the future?
When you update your OS - (if it contains a Mail.app update) it will replace the previous version of the app with the new one and by doing this it will also replace the icon file.
Anyway something that you can try after you've replaced the icon again:
1.Open Terminal and enter this command -
2.Enter your password and press Enter
3.WITHOUT switching to other windows press CMD + TAB and select Finder
4.Press CMD + N this will open a new Finder Window with root privileges (BE EXTREMELY CAREFUL WHAT YOU DO)
5.Press CMD + G and enter
8.Go back to the terminal window and press CONTROL + C this will close the Finder Window.
This should prevent it from being overwritten
Command line alternative: