summaryrefslogtreecommitdiffstats
path: root/platform/macos/export/export_plugin.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-05-10 12:47:07 +0200
committerRémi Verschelde <rverschelde@gmail.com>2023-05-10 12:47:07 +0200
commit74e5ad5c6010f43ad3e3524864920be279851fce (patch)
treea4524b34bbb748cf062f466a7c5ebbfd15e67b1c /platform/macos/export/export_plugin.h
parent5271186f2f826cc6667766d9db32c1ca8b0743ec (diff)
parentfab160ce70fffa4fc1eed302c4ddd2a9c7882c93 (diff)
downloadredot-engine-74e5ad5c6010f43ad3e3524864920be279851fce.tar.gz
Merge pull request #76165 from and-rad/safe-credentials
Store sensitive export options in dedicated credentials file
Diffstat (limited to 'platform/macos/export/export_plugin.h')
-rw-r--r--platform/macos/export/export_plugin.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/platform/macos/export/export_plugin.h b/platform/macos/export/export_plugin.h
index a8caf535c4..0477a8c0cc 100644
--- a/platform/macos/export/export_plugin.h
+++ b/platform/macos/export/export_plugin.h
@@ -43,6 +43,17 @@
#include <sys/stat.h>
+// Optional environment variables for defining confidential information. If any
+// of these is set, they will override the values set in the credentials file.
+const String ENV_MAC_CODESIGN_CERT_FILE = "GODOT_MACOS_CODESIGN_CERTIFICATE_FILE";
+const String ENV_MAC_CODESIGN_CERT_PASS = "GODOT_MACOS_CODESIGN_CERTIFICATE_PASSWORD";
+const String ENV_MAC_CODESIGN_PROFILE = "GODOT_MACOS_CODESIGN_PROVISIONING_PROFILE";
+const String ENV_MAC_NOTARIZATION_UUID = "GODOT_MACOS_NOTARIZATION_API_UUID";
+const String ENV_MAC_NOTARIZATION_KEY = "GODOT_MACOS_NOTARIZATION_API_KEY";
+const String ENV_MAC_NOTARIZATION_KEY_ID = "GODOT_MACOS_NOTARIZATION_API_KEY_ID";
+const String ENV_MAC_NOTARIZATION_APPLE_ID = "GODOT_MACOS_NOTARIZATION_APPLE_ID_NAME";
+const String ENV_MAC_NOTARIZATION_APPLE_PASS = "GODOT_MACOS_NOTARIZATION_APPLE_ID_PASSWORD";
+
class EditorExportPlatformMacOS : public EditorExportPlatform {
GDCLASS(EditorExportPlatformMacOS, EditorExportPlatform);