Hi
I've just compiled a PB program developed on Windows on Mac OSX.
App works as expected (which is quite incredible).
PB compilation saves app to Desktop but correct icon doesn't display on desktop.
The .ico file is in the apps Resources directory.
Will a Windows ico file work on OSX?
Does the ico file need to be a specific size for OSX?
Using PureBasic 5.72 Beta 2 for MacOS X (64-bit) on Catalina 10.15.3
app icon file
Re: app icon file
ICO format won't work.BlindMan wrote:Will a Windows ico file work on OSX?
Your icon needs to be ICNS format for macOS.
Windows (x64)
Raspberry Pi OS (Arm64)
Raspberry Pi OS (Arm64)
Re: app icon file
You can convert it easily on OSX with the Preview app.
Open it and use "Export.." from the File menu.
In the save file dialog is a combobox with different file formats. Presse is while holding the ALT key and choose INCS.
Open it and use "Export.." from the File menu.
In the save file dialog is a combobox with different file formats. Presse is while holding the ALT key and choose INCS.
macOS Catalina 10.15.7
Re: app icon file
Used sips to convert 256x256 ico file to ICNS file.
Had to send apps executable directory from desktop to bin before recompiling as just recompiling did not update desktop icon.
I'm a bit out of date with Apple. Prior to yesterday, last Apple I used was an Apple II in 1979.
I had a spare HDMI port on my monitor so I purchased a 2014 Mac mini off ebay.
Had to send apps executable directory from desktop to bin before recompiling as just recompiling did not update desktop icon.
I'm a bit out of date with Apple. Prior to yesterday, last Apple I used was an Apple II in 1979.
I had a spare HDMI port on my monitor so I purchased a 2014 Mac mini off ebay.