From 46a922d3ab6be0707754c44f35ae5733dcca6b40 Mon Sep 17 00:00:00 2001 From: Dana Olson Date: Sat, 1 Nov 2014 04:20:18 -0400 Subject: add timestamping authority server option for Android --- platform/android/export/export.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'platform') 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 exporter = Ref( memnew(EditorExportPlatformAndroid) ); EditorImportExport::get_singleton()->add_export_platform(exporter); -- cgit v1.2.3