feat: added a -android-keystore-password option to pass a password for the keystore instead of hardcoding it as android

This commit is contained in:
IllusionMan1212
2025-04-04 05:23:12 +02:00
parent 7c26024920
commit 4495f0f0f2
3 changed files with 14 additions and 1 deletions
+5
View File
@@ -554,6 +554,7 @@ struct BuildContext {
String ODIN_ANDROID_JAR_SIGNER;
String android_keystore;
String android_keystore_alias;
String android_keystore_password;
String android_manifest;
};
@@ -1593,6 +1594,10 @@ gb_internal void init_android_values(bool with_sdk) {
gb_printf_err("Error: -android-keystore_alias:<string> has not been set\n");
gb_exit(1);
}
if (bc->android_keystore_password.len == 0) {
gb_printf_err("Error: -android-keystore-password:<string> has not been set\n");
gb_exit(1);
}
}
}