diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-06-04 16:24:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-04 16:24:24 +0200 |
commit | c0ff2a388dff38b86b888b9822f26cd3ab04e727 (patch) | |
tree | f1b0ad3641cd8c169544fe54dec34d79ab5a272c /platform/android | |
parent | b8ff8fe85c31f37bad4a945f93844dc10b0c2a5a (diff) | |
parent | 21263a65a9a44fc06ed5311fc600bd72b7f5243f (diff) |
Merge pull request #39281 from mbrlabs/check-android-release-keystore
Check if the specified Android release keystore exists
Diffstat (limited to 'platform/android')
-rw-r--r-- | platform/android/export/export.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/platform/android/export/export.cpp b/platform/android/export/export.cpp index 3579b5a112..176fc3110a 100644 --- a/platform/android/export/export.cpp +++ b/platform/android/export/export.cpp @@ -1786,6 +1786,13 @@ public: } } + String rk = p_preset->get("keystore/release"); + + if (!rk.empty() && !FileAccess::exists(rk)) { + valid = false; + err += TTR("Release keystore incorrectly configured in the export preset.") + "\n"; + } + if (bool(p_preset->get("custom_template/use_custom_build"))) { String sdk_path = EditorSettings::get_singleton()->get("export/android/custom_build_sdk_path"); if (sdk_path == "") { |