1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-19 13:03:11 +01:00

Fallback to ephemeral debug signing if keystore is unavailable

This commit is contained in:
Michał Janiszewski
2025-07-31 23:30:58 +02:00
parent 559e1bf2ce
commit 80cd7e1fb8

View File

@@ -34,7 +34,12 @@ android {
}
buildTypes {
release {
signingConfig signingConfigs.release
if (System.getenv('OPENRCT2_KEYSTORE_FILE') && System.getenv('OPENRCT2_KEYSTORE_PASSWORD')) {
signingConfig signingConfigs.release
} else {
// Fallback to ephemeral debug signing when keystore is not available
signingConfig signingConfigs.debug
}
}
}