Icon on APFS (macOS 10.13 or later)
sourcebox opened this issue · 2 comments
sourcebox commented
On macOS 10.13 and later, APFS is used for the internal file system (at least on SSDs). When building on the these systems, the icon does not show up on the bundle. The icon file is created correctly inside the bundle though.
After zipping the bundle and transfering it to an older macOS with HFS+, the icon is shown correctly after unzipping it again.
It seems that APFS needs some additional steps to be performed to make the icon show up.
fakob commented
Has anyone figured this out yet? Running into the same issue :-)
fakob commented
Now I am not so sure anymore if I actually had the same problem :-)
However, the way I made it work:
- Added my icon in apples icns format on the root level using the apps name
- Added a reference to it in the
Cargo.toml
fileicon = ["icon.png", "app-name.icns"]