application icon not appearing in OSX

Peter Brigham pmbrig at gmail.com
Mon Dec 24 12:30:07 EST 2007


So before I create my standalone, I choose the icon file I want to be  
assigned to my app in the standalone builder settings -- a 128x128  
png file -- and then build the standalone. It appears after the build  
with a generic app icon. I understand that the standalone builder  
fails to "touch" the app to notify the Finder that the icon has been  
changed to a custom icon. Somewhere recently on this list I read that  
zipping then unzipping it will force the Finder to look at the icon  
in the bundle, but when I do this I still have the generic icon on  
the newly-unzipped app.

In fact, there's a problem with zipping/unzipping. What I have been  
doing is after building the standalone I have been manually pasting  
the correct icon into the Finder's "get info" panel for the app,  
which sets the icon fine (the icon appears correctly in the dock and  
in Finder windows). But when I zip the correctly-icon-ed standalone  
then unzip it again, it's back to a generic icon. As a result, my  
users will be getting the generically icon-ed app when they download  
the zip file from my website.

I checked inside the application bundle, and the "Revolution.icns"  
file in the Resources folder after the build is indeed my custom  
icon, and ibid for the app after the unzip. So it looks like  
everything is as it should be, but still the app doesn't appear  
properly in the Finder after the build or after any unzipping. Should  
the png file be named "Revolution.icns" in the bundle, or something  
else?

I voted for bug 3057 (which also mentions the zip/unzip technique),  
but this is a new difficulty, now that the zip/unzip fails for me.  
Any suggestions so the Mac custom icon gets firmly attached to the  
standalone, and survives unzipping?

(and I haven't even tried to tackle the WIndows icon issue yet...)

Mac iBook G4, OSX 10.4.1, Studio 2.8.1 build 471

-- Peter

Peter M. Brigham
pmbrig at gmail.com
http://home.comcast.net/~pmbrig/

-- If you can't be kind, at least have the decency to be vague.




More information about the use-livecode mailing list