macOS export: Fix validation of codesigning certificate password

This commit is contained in:
Johan Mattsson 2023-03-03 23:20:36 +01:00 committed by Rémi Verschelde
parent 61d2c85511
commit 76e1d1363b
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 1 additions and 1 deletions

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_file = p_preset->get("codesign/certificate_file");
String certificate_pass = p_preset->get("codesign/certificate_password"); 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("--p12-file");
args.push_back(certificate_file); args.push_back(certificate_file);
args.push_back("--p12-password"); args.push_back("--p12-password");