Godot Engine – Multi-platform 2D and 3D game engine
[macOS] Fix wrong release/debug template used for universal templates.
Pāvels Nadtočajevs3129d5ed1030
diff --git a/platform/macos/export/export_plugin.cpp b/platform/macos/export/export_plugin.cppindex 0de535784dd..ecadaff50aa 100644--- a/platform/macos/export/export_plugin.cpp+++ b/platform/macos/export/export_plugin.cpp@@ -2313,7 +2313,7 @@ Error EditorExportPlatformMacOS::export_project(const Ref<EditorExportPreset> &pif (file.begins_with("Contents/MacOS/godot_")) {if (architecture == "universal") {- if (file.begins_with("Contents/MacOS/" + binary_to_use_base)) {+ if (!file.begins_with("Contents/MacOS/" + binary_to_use_base)) {ret = unzGoToNextFile(src_pkg_zip);continue; // skip}