Merge pull request #39281 from mbrlabs/check-android-release-keystore

Check if the specified Android release keystore exists
This commit is contained in:
Rémi Verschelde 2020-06-04 16:24:24 +02:00 committed by GitHub
commit c0ff2a388d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 == "") {