How do I set the icon for my application's Mac OS X app bundle?

前端 未结 3 1030
陌清茗
陌清茗 2020-12-06 09:42

I have an application that I\'ve bundled into a Mac OS X app bundle. Everything is working fine, but I want to change its icon from the default. How do I set its icon? Thank

3条回答
  •  长情又很酷
    2020-12-06 10:11

    in your info.plist add

    CFBundleIconFile
    iconfile
    

    with icon file iconfile.icns in your Resources directory

提交回复
热议问题