Why is the icon not installed on the .exe file?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By roma

Why is the icon not installed on the .exe file? The icon on the task bar and the left corner of the window is as it should be, and when I export to .exe, the icon I installed is on the task bar and in the left corner, also as it should be, and the file icon is the usual Godot icon. Rcedit is.

:bust_in_silhouette: Reply From: jgodfrey

I assume your *.ico file must be missing one or more sizes required by your Windows environment. Have you read the docs here?

And, specifically, this warning:

For the ICO file to effectively replace the default Godot icon, it must contain all the sizes included in the default Godot icon: 16×16, 32×32, 48×48, 64×64, 128×128, 256×256. If the ICO file does not contain all the sizes, the default Godot icon will be kept for the sizes that weren’t overridden.

Sorry,but this don`t work.My image have 16x16 , 32x32,48x48, 64x64, 128x128, 256x256.
But .exe file have godot icon…

roma | 2023-01-09 16:32

Hmm… I’m not sure what the problem could be then. I just checked the icon resource included with the 3.5.1 release and it does indeed include only the sizes mentioned in the docs. Is your icon file available somewhere for inspection?

jgodfrey | 2023-01-09 16:39

I open resourse on ReusorceHacker and all icon is Godot Icon… Maybe Godot do not import my Icon? I don`t see icon in Godot file system… Maybe if I import icon Godot see and use my Icon?

roma | 2023-01-09 16:51

Yeah, I’d assume the icon hasn’t been replaced. Do you have the path to Rcedit properly defined in Editor Settings | Export | Windows? I just tested this here and it seems to work as expected for me.

jgodfrey | 2023-01-09 17:09