Merge pull request #775 from Spartan322/4.3-fix/macos-export-plugin

[4.3] Rebrand macos exports to Redot
This commit is contained in:
George L. Albany
2024-10-23 05:50:37 +00:00
committed by GitHub

View File

@@ -1550,7 +1550,7 @@ Error EditorExportPlatformMacOS::export_project(const Ref<EditorExportPreset> &p
int ret = unzGoToFirstFile(src_pkg_zip);
String architecture = p_preset->get("binary_format/architecture");
String binary_to_use = "godot_macos_" + String(p_debug ? "debug" : "release") + "." + architecture;
String binary_to_use = "redot_macos_" + String(p_debug ? "debug" : "release") + "." + architecture;
String pkg_name;
if (String(GLOBAL_GET("application/config/name")) != "") {
@@ -1842,7 +1842,7 @@ Error EditorExportPlatformMacOS::export_project(const Ref<EditorExportPreset> &p
_fix_privacy_manifest(p_preset, data);
}
if (file.begins_with("Contents/MacOS/godot_")) {
if (file.begins_with("Contents/MacOS/redot_")) {
if (file != "Contents/MacOS/" + binary_to_use) {
ret = unzGoToNextFile(src_pkg_zip);
continue; // skip