Godot: Windows Export should warn if custom resources are specified but rcedit isn't

Created on 30 Apr 2018  Â·  2Comments  Â·  Source: godotengine/godot

Godot version: v3.02.stable.official

OS/device including version: Windows 10 64-bit

Issue description:
Expected behavior: Changing the Application settings in the export options should set the file attributes of the exported exe.
Actual behavior: File details are all set to the default values. If an icon is specified in the export options, it is not used.

Steps to reproduce:

  1. Add a Windows Desktop export.
  2. Set the Application options.
  3. Click "Export Project" and save the exe.
  4. Right click the exported exe then "Properties".
  5. Switch to the "Details" tab.
enhancement windows editor porting usability

Most helpful comment

Thank you for the information, @Calinou.

If rcedit is required to do this, then shouldn't Godot tell you that you need it? It appears to me that Godot is failing silently, instead of warning you that it needs rcedit to set file attributes.

I received no warning or error message. (Maybe in the console, but I didn't look there.) And because of that, I thought it was a bug. If Godot had said "It looks like you're trying to set Application options without rcedit installed. Here's how to install rcedit", then I would have understood what was happening.

All 2 comments

It is possible to change the application properties of Windows exports, but you need to download rcedit then specify the path to the rcedit executable in Editor → Editor Settings → Export → Windows before exporting the project for Windows. This can also be done from Linux and macOS – you'll need to install WINE to run rcedit in this case.

See Changing application icon on Windows for more information.

Thank you for the information, @Calinou.

If rcedit is required to do this, then shouldn't Godot tell you that you need it? It appears to me that Godot is failing silently, instead of warning you that it needs rcedit to set file attributes.

I received no warning or error message. (Maybe in the console, but I didn't look there.) And because of that, I thought it was a bug. If Godot had said "It looks like you're trying to set Application options without rcedit installed. Here's how to install rcedit", then I would have understood what was happening.

Was this page helpful?
0 / 5 - 0 ratings