Closed hsandt closed 1 year ago
It won't work with Godot 4.0.2 official template. Unfortunately in Godot 4 beta 7 executable icon was changed from fixed size to compressed. There's already https://github.com/godotengine/godot/pull/75950 ready which completely replaces rcedit and allows not only icon changing but also description. Please add comment in mentioned PR and also in this thread https://github.com/godotengine/godot/issues/73497 so it will get merged faster.
Workaround is to check out sources from Godot master branch or one of tags, replace icon file with the one produced by IconCreator and compile it by yourself or on GitHub. Template produced this way will work with IconReplacer.
OK, for now wine + rcedit causes no error (but I don't know if it truly works, I need to test on Windows with a custom icon), so I'll use it and wait for the PR to be merged.
I didn't have extra info to add so I didn't comment (cause we sometimes get scold when we comment just to +1), but I did +1 the first post. I'll be following how it goes.
When exporting Windows from Linux and running the replace script on the target exe, I get the error "Could not find icons in executable. Wrong template?"
Godot version: 4.0.2
My bash script:
Output: