On 22 Jan 2015, at 14:11, Jens Alfke wrote:
Alter the app's Info.plist, I suppose (and then call LaunchServices to tell it to re-register, so it'll notice the changes.)
For this to work, you need to exclude the Info.plist from the app bundle’s signature.
If the OP insists on adapting the icon to the current OS version then I suggest using the existing system for custom icons.
This works by writing a file named `Icon\r` to the root of the application bundle and should be easy to simulate in code. A quick test shows no need for resetting the LS cache, but you do need to relaunch Dock.app (for the dock to update).
_______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com