Skip to content

Commit 08e5dea

Browse files
committed
Merge pull request #80357 from OXTyler/master
Fix Windows console wrapper and icon being swapped
2 parents f6b9d44 + 3cf1e04 commit 08e5dea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

platform/windows/export/export_plugin.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -168,10 +168,10 @@ Error EditorExportPlatformWindows::sign_shared_object(const Ref<EditorExportPres
168168

169169
Error EditorExportPlatformWindows::modify_template(const Ref<EditorExportPreset> &p_preset, bool p_debug, const String &p_path, int p_flags) {
170170
if (p_preset->get("application/modify_resources")) {
171-
_rcedit_add_data(p_preset, p_path, true);
171+
_rcedit_add_data(p_preset, p_path, false);
172172
String wrapper_path = p_path.get_basename() + ".console.exe";
173173
if (FileAccess::exists(wrapper_path)) {
174-
_rcedit_add_data(p_preset, wrapper_path, false);
174+
_rcedit_add_data(p_preset, wrapper_path, true);
175175
}
176176
}
177177
return OK;

0 commit comments

Comments
 (0)