summaryrefslogtreecommitdiff
path: root/platform/android/export
diff options
context:
space:
mode:
authorDana Olson <dana@shineuponthee.com>2014-11-01 04:20:18 -0400
committerDana Olson <dana@shineuponthee.com>2014-11-01 04:20:18 -0400
commit46a922d3ab6be0707754c44f35ae5733dcca6b40 (patch)
tree038d30f188f409752d386efc06322c4d44265c8e /platform/android/export
parentcf04e1a827cadb597d8cbed534a4cc04a0ada4fc (diff)
add timestamping authority server option for Android
Diffstat (limited to 'platform/android/export')
-rw-r--r--platform/android/export/export.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/platform/android/export/export.cpp b/platform/android/export/export.cpp
index aef223470a..9ae611dee9 100644
--- a/platform/android/export/export.cpp
+++ b/platform/android/export/export.cpp
@@ -1231,6 +1231,11 @@ Error EditorExportPlatformAndroid::export_project(const String& p_path, bool p_d
args.push_back("SHA1");
args.push_back("-sigalg");
args.push_back("MD5withRSA");
+ String tsa_url=EditorSettings::get_singleton()->get("android/timestamping_authority_url");
+ if (tsa_url != "") {
+ args.push_back("-tsa");
+ args.push_back(tsa_url);
+ }
args.push_back("-verbose");
args.push_back("-keystore");
args.push_back(keystore);
@@ -1613,6 +1618,7 @@ void register_android_exporter() {
//EDITOR_DEF("android/release_keystore","");
//EDITOR_DEF("android/release_username","");
//EditorSettings::get_singleton()->add_property_hint(PropertyInfo(Variant::STRING,"android/release_keystore",PROPERTY_HINT_GLOBAL_FILE,"*.keystore"));
+ EDITOR_DEF("android/timestamping_authority_url","");
Ref<EditorExportPlatformAndroid> exporter = Ref<EditorExportPlatformAndroid>( memnew(EditorExportPlatformAndroid) );
EditorImportExport::get_singleton()->add_export_platform(exporter);