Can you / Are you allowed to change the Icon of an executable?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Prestidigitator
:warning: Old Version Published before Godot 3 was released.

Can you / Are you allowed to change the Icon of an executable?
Or am I stuck with the Godot Engine Logo there?

:bust_in_silhouette: Reply From: Jennifer D’aww

There’s an “icon” setting under Scene>Project Settings under the “Application” section, not sure if that changes the executable but that was the only icon reference I can recall

It didn’t change the Application icon.
I hope they add that.
=/

Prestidigitator | 2016-08-15 03:12

I think you have to compile your own export template with the new icon.

GlaDOSik | 2016-08-15 12:03

This is a problem with Windows and likely won’t be fixed soon. Godot used to have it but the third-party library used was more trouble than it was worth, so it was dropped.

You can use external tools to change the icon and other app details, such as Resource Hacker or rcedit.

vnen | 2016-08-15 12:04

Doesn’t the winapi already allows to do that at runtime? WM_SETICON message (Winuser.h) - Win32 apps | Microsoft Learn
Edit: oops, you mean the icon of the file… well well well :confused:

Zylann | 2016-08-15 12:42