Forum > macOS / Mac OS X

App Bundle Icon Overridden by Lazarus Assigned Icon

(1/3) > >>

msintle:
Does anybody know how Lazarus seems to "burn in" the icon that is specified in the Project Options window for a macOS LCL app?

This icon seems to override the app bundle icon (.app/Contents/Resources/icon.icns), even with everything manifested properly (.app/Contents/info.plist).

Very interesting behavior indeed!

madref:
the icon name must be the same as the app name

msintle:
Not even remotely applicable to my question!

msintle:
Another way to explain what I am trying to get at.

File size of Lazarus binary on macOS compiled WITHOUT icon specified in Project Options:
19,399,272 bytes.

File size of exactly the same source code WITH icon specified in Project Options:
19,473,008 bytes.

So this icon is being stored INSIDE the macOS binary as a resource of some kind (like Windows) or in a separate fork (a la classic macOS?)

And how does Lazarus communicate the presence of this icon to macOS?

It OVERRIDES the icon that is specified as part of the application bundle!

Is there actually a way to have the application bundle icon SUPERSEDE the icon Lazarus is embedding inside the binary?

TRon:

--- Quote from: msintle on February 04, 2025, 07:55:46 pm ---Is there actually a way to have the application bundle icon SUPERSEDE the icon Lazarus is embedding inside the binary?

--- End quote ---
Change the icon in your project options.

Navigation

[0] Message Index

[#] Next page

Go to full version