Check if the specified Android release keystore exists

(cherry picked from commit 21263a65a9)
This commit is contained in:
Marcus Brummer 2020-06-04 13:01:15 +02:00 committed by Rémi Verschelde
parent 837cba7567
commit a6e9001579

View file

@ -1855,6 +1855,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 == "") {