Mark – App Icons OSX & Windows

About Monkey 2 Forums Monkey 2 Development Mark – App Icons OSX & Windows

This topic contains 5 replies, has 4 voices, and was last updated by  Mark Sibly 2 years, 2 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #6862

    AdamStrange
    Participant

    Ok. I think this is actually very important for any desktop work.

    How do you attach icons to files?

    I can simply do this with a few external programs in OSX, but really this should be part of the app process.

    in windows you compile with a .ico file.

    Is there a way this could be done with monkey2?

    #6864

    Ethernaut
    Participant

    I agree that it needs to be “built-in”.

    But for now, you can swap the icon without any extra software. If you already have the .icns file, simply right click the app, select “Show Package Contents”, navigate to the resources folder and drop the icon files there. Make sure it is named exactly like the executable file inside the MacOS folder, only with .icns extension instead.

    One catch: usually MacOS won’t refresh the icon right away, even if you kill finder and relaunch. One quick way to check if it’s correct is to simply copy or move the app to a different folder, it should then display the updated icon.

    #6866

    AdamStrange
    Participant

    OSX I can do already – got an app that is very user friendly, but there seems to be nothing similar on windows?

    #6878

    nerobot
    Participant

    To learn how to include app icon on windows, please inspect sources of Launcher

    There is a section

    File resource.rc contains icon info

     

    Utility windres.exe is a part of mingw.

    #6881

    AdamStrange
    Participant

    @nerobot Btilliant. I’ll go and look at the source now 🙂

    #6934

    Mark Sibly
    Keymaster

    but really this should be part of the app process.

    I agree, but you guys will have to work around it for a while yet sorry.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.