Merge pull request #74326 from mjunix/patch-1

macOS export: Fix validation of codesigning certificate password
This commit is contained in:
Rémi Verschelde 2023-04-11 19:40:11 +02:00
commit 02b9a9268a
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -768,7 +768,7 @@ Error EditorExportPlatformMacOS::_code_sign(const Ref<EditorExportPreset> &p_pre
String certificate_file = p_preset->get("codesign/certificate_file");
String certificate_pass = p_preset->get("codesign/certificate_password");
if (!certificate_file.is_empty() && !certificate_file.is_empty()) {
if (!certificate_file.is_empty() && !certificate_pass.is_empty()) {
args.push_back("--p12-file");
args.push_back(certificate_file);
args.push_back("--p12-password");