summaryrefslogtreecommitdiffstats
path: root/platform/macos/export/export.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2022-08-26 19:16:27 +0200
committerGitHub <noreply@github.com>2022-08-26 19:16:27 +0200
commit390333e822c95081cfbd837699c8c63370b388dc (patch)
treed061fca3399ac84791b4325642e1792eb0556d55 /platform/macos/export/export.cpp
parent1c97dde78fd971ad5301cbbe57033a3903b99726 (diff)
parentd91cb1d5d57de970d027ffbd46b41cfd847c10dc (diff)
downloadredot-engine-390333e822c95081cfbd837699c8c63370b388dc.tar.gz
Merge pull request #64207 from bruvzg/rcs
[macOS export] Simplify code signing options, add support for rcodesign tool for signing and notarization.
Diffstat (limited to 'platform/macos/export/export.cpp')
-rw-r--r--platform/macos/export/export.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/platform/macos/export/export.cpp b/platform/macos/export/export.cpp
index ff7457081f..f219616df4 100644
--- a/platform/macos/export/export.cpp
+++ b/platform/macos/export/export.cpp
@@ -33,8 +33,12 @@
#include "export_plugin.h"
void register_macos_exporter() {
- EDITOR_DEF("export/macos/force_builtin_codesign", false);
- EditorSettings::get_singleton()->add_property_hint(PropertyInfo(Variant::BOOL, "export/macos/force_builtin_codesign", PROPERTY_HINT_NONE));
+ EDITOR_DEF("export/macos/rcodesign", "");
+#ifdef WINDOWS_ENABLED
+ EditorSettings::get_singleton()->add_property_hint(PropertyInfo(Variant::STRING, "export/macos/rcodesign", PROPERTY_HINT_GLOBAL_FILE, "*.exe"));
+#else
+ EditorSettings::get_singleton()->add_property_hint(PropertyInfo(Variant::STRING, "export/macos/rcodesign", PROPERTY_HINT_GLOBAL_FILE));
+#endif
Ref<EditorExportPlatformMacOS> platform;
platform.instantiate();