Fallback to ephemeral debug signing if keystore is unavailable

This commit is contained in:
Michał Janiszewski committed 2025-08-02 11:42:06 +02:00
1 parent 559e1bf2ce
commit 80cd7e1fb8
1 file changed
+6 -1
+6 -1
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
}
}
}