No no no no no no copy/pasting the icon is NOT the proper way to do it!! That's only meant for temporary or amateur customisation.
Assuming you have the developer tools installed...create an icns file (see /Developer/Applications/Utilities/Icon Composer.app), stick it in the app's package (right-click on the app, select "Show Package Contents"). Put it in YourApp.app/Contents/Resources/someName.icns.
The next step is to tell the system how to find the icon. In YourApp.app/Contents/ you need an "info.plist" file. I'd just steal one from another app and change the values in it. If you double click the info.plist, it should open automatically in "Property List Editor" which is easier than reading XML. The important key of course is "CFBundleIconFile", which you set to whatever you had as someName.icns. I'm not sure, but you should probably delete any keys which aren't relevant or you don't understand about for your app.
Finally, to make sure it has worked, show the Get Info window for your app, click the icon in the top left, and press backspace. This will make sure that any temporary icon the system has cached will be removed, putting it back to the "default" - i.e. what you just set it to what it is meant to be.
Voila, you have changed the icon properly and permanently. Now if BlitzMax would just do all this automatically... it would be nice if it automatically generated an info.plist file.
Hmm, perhaps I should post this as a tutorial on the relevant forum...
Assuming you have the developer tools installed...create an icns file (see /Developer/Applications/Utilities/Icon Composer.app), stick it in the app's package (right-click on the app, select "Show Package Contents"). Put it in YourApp.app/Contents/Resources/someName.icns.
The next step is to tell the system how to find the icon. In YourApp.app/Contents/ you need an "info.plist" file. I'd just steal one from another app and change the values in it. If you double click the info.plist, it should open automatically in "Property List Editor" which is easier than reading XML. The important key of course is "CFBundleIconFile", which you set to whatever you had as someName.icns. I'm not sure, but you should probably delete any keys which aren't relevant or you don't understand about for your app.
Finally, to make sure it has worked, show the Get Info window for your app, click the icon in the top left, and press backspace. This will make sure that any temporary icon the system has cached will be removed, putting it back to the "default" - i.e. what you just set it to what it is meant to be.
Voila, you have changed the icon properly and permanently. Now if BlitzMax would just do all this automatically... it would be nice if it automatically generated an info.plist file.
Hmm, perhaps I should post this as a tutorial on the relevant forum...