GitHub user mhalachev added a comment to the discussion: Upcoming macOS app 
icon changes

Thank you for your feedback! 

Long story short, the `netbeans.icns` in `[app bundle 
path]/Contents/Resources/`, referenced via the `CFBundleIconFile` key, should 
be retained. In ensures backwards compatibility and continues to provide the 
icon in  contexts that rely on `.icns`.

The new addition is a file named `Assets.car` (Asset Catalog Archive), which 
also resides in the Resources directory. This file is automatically generated 
by Xcode when using an asset catalog (.xcassets), but it may also be produced 
via the Command Line Tools for Xcode. (Eventually, a GitHub Action may be 
considered for automating this part of the icon pipeline.)

The original icon assets in the mockup were created using Icon Composer, which 
can serve as a source to produce the appropriate asset catalog. As far as I 
understand, the system automatically chooses the correct variant (e.g. Light, 
Dark) based on the user's settings — no explicit reference in `Info.plist` is 
needed as long as the asset name (in the catalog) matches.

It should also be investigated whether there are any licensing implications 
related to the use or redistribution of asset catalogs.

Given the above, perhaps an appropriate asset catalog could be added to 
`netbeans-nbpackage` and specified to be bundled alongside with the `.icns` 
file in 
[AppBundleTask](https://github.com/apache/netbeans-nbpackage/blob/dc27a7bbc93f1e3a9fbdd36dd0b9c735b7da19d3/src/main/java/org/apache/netbeans/nbpackage/macos/AppBundleTask.java#L257)
 for the macOS installer?

PS: Attached is the resource produced with Icon Composer for reference. 
[netbeans.zip](https://github.com/user-attachments/files/21533584/netbeans.zip)



GitHub link: 
https://github.com/apache/netbeans/discussions/8671#discussioncomment-13949503

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to