Setting Icon for Raylib App on MacOS | Unix Executables/.app #3162
-
By looking through the discussions on this repo, I know how to set an icon for a Windows executable. I tried using the *.rc.data file I generated for Windows on MacOS, but it does not set the icon for MacOS executables/.app (and I get a compiler error similar to the one down below). How do I set the icon of a Raylib application for a MacOS executable/.app I generate? I should note I am building this application in VS Code and not Xcode. (I further tried using a *.plist, but I get a compiler error "ignoring file assets/Info.plist, building for macOS-x86_64 but attempting to link with file built for unknown-unsupported file format [hex code]".) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
I'm afraid macOS app icons work in a completely different way than Windows. The app is actually a zipped directory and icon must be a .icns file and placed in a very specific directory, I don't have the detailed info at hand now but you can check it on internet. |
Beta Was this translation helpful? Give feedback.
I'm afraid macOS app icons work in a completely different way than Windows. The app is actually a zipped directory and icon must be a .icns file and placed in a very specific directory, I don't have the detailed info at hand now but you can check it on internet.