Skip to content

Commit

Permalink
Merge pull request #74326 from mjunix/patch-1
Browse files Browse the repository at this point in the history
macOS export: Fix validation of codesigning certificate password
  • Loading branch information
akien-mga committed Apr 11, 2023
2 parents 23a3e39 + 76e1d13 commit 02b9a92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/macos/export/export_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 02b9a92

Please sign in to comment.