export app with icon (windows)

edited February 2018 in Using Processing

hi! i would like to export my app with custom icon. i hope you can help me with this. AND NO, THIS IS NOT frame.setIcon()

Tagged:

Answers

  • Answer ✓

    I assume you are wanting to change the application icon as it would appear on the desktop or Windows explorer. I have no idea whether Processing lets you do that but I use Resource Hacker to change my Windows exe file icons.

    Once installed you can open your exported exe by right-clicking and selecting "Open in Resource Hacker". In the window click on 'Add Binary or Image Resource' button on the toolbar. In the dialog window click on 'Select File' and pick the ico file, the Resource Type should change to ICONGROUP. Click on Add Resource. Finally save the changes.

    Note it will backup the original exe file so if you have a problem you can delete the new exe and rename the backup to make it active.

  • thank you, quark! this works for me.

Sign In or Register to comment.