mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 07:17:42 -05:00
Merge pull request #775 from Spartan322/4.3-fix/macos-export-plugin
[4.3] Rebrand macos exports to Redot
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user