You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-19 14:31:59 +00:00
Fix unused exitcode in macos export plugin
Fix that the exitcode is never set.
(cherry picked from commit 567a591f87)
This commit is contained in:
committed by
Rémi Verschelde
parent
84904da07a
commit
ccb9ffb6a3
@@ -814,7 +814,7 @@ Error EditorExportPlatformOSX::_code_sign(const Ref<EditorExportPreset> &p_prese
|
|||||||
String str;
|
String str;
|
||||||
int exitcode = 0;
|
int exitcode = 0;
|
||||||
|
|
||||||
Error err = OS::get_singleton()->execute("codesign", args, true, NULL, &str, NULL, true);
|
Error err = OS::get_singleton()->execute("codesign", args, true, NULL, &str, &exitcode, true);
|
||||||
if (err != OK) {
|
if (err != OK) {
|
||||||
add_message(EXPORT_MESSAGE_WARNING, TTR("Code Signing"), TTR("Could not start codesign executable, make sure Xcode command line tools are installed."));
|
add_message(EXPORT_MESSAGE_WARNING, TTR("Code Signing"), TTR("Could not start codesign executable, make sure Xcode command line tools are installed."));
|
||||||
return err;
|
return err;
|
||||||
|
|||||||
Reference in New Issue
Block a user