I have an app on my laptop (Mooer Studio For M2), which has an icon.icns but actually turns out to be an .ico:
(base) bird@Mac fetch % file /Applications/Mooer\ Studio\ For\ M2.app/Contents/Resources/icon.icns
/Applications/Mooer Studio For M2.app/Contents/Resources/icon.icns: MS Windows icon resource - 1 icon, -128x-128, 32 bits/pixel
(base) bird@Mac fetch % xxd /Applications/Mooer\ Studio\ For\ M2.app/Contents/Resources/icon.icns | head -n6
00000000: 0000 0100 0100 8080 0000 0100 2000 2808 ............ .(.
00000010: 0100 1600 0000 2800 0000 8000 0000 0001 ......(.........
00000020: 0000 0100 2000 0000 0000 0000 0100 0000 .... ...........
00000030: 0000 0000 0000 0000 0000 0000 0000 0000 ................
00000040: 0000 0000 0000 0000 0000 0000 0000 0000 ................
00000050: 0000 0000 0000 0000 0000 0000 0000 0000 ................
Very surprisingly, macOS supports that. So we'd need to support it as well. It shouldn't be difficult, thankfully. .ico is trivial bitmap data, and rust-ico exists (by the same author as rust-icns!).
I have an app on my laptop (Mooer Studio For M2), which has an
icon.icnsbut actually turns out to be an.ico:Very surprisingly, macOS supports that. So we'd need to support it as well. It shouldn't be difficult, thankfully.
.icois trivial bitmap data, andrust-icoexists (by the same author asrust-icns!).