mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-18 20:02:22 -07:00
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:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user