aboutsummaryrefslogtreecommitdiff
path: root/src/bundle_command.cpp
diff options
context:
space:
mode:
authorIllusionMan1212 <hisham.abourgheba@gmail.com>2025-04-04 05:23:12 +0200
committerIllusionMan1212 <hisham.abourgheba@gmail.com>2025-04-04 05:23:12 +0200
commit4495f0f0f245e4534aa39e153176b42b4d2db8f6 (patch)
treeffdda76843f1331fd95caa0e2fa5de0835a3f3c4 /src/bundle_command.cpp
parent7c26024920d3fe684edc66016f71db28e1f7542b (diff)
feat: added a `-android-keystore-password` option to pass a password for the keystore instead of hardcoding it as `android`
Diffstat (limited to 'src/bundle_command.cpp')
-rw-r--r--src/bundle_command.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bundle_command.cpp b/src/bundle_command.cpp
index c5274ca3d..11ff4e6e1 100644
--- a/src/bundle_command.cpp
+++ b/src/bundle_command.cpp
@@ -172,7 +172,7 @@ i32 bundle_android(String original_init_directory) {
gb_string_clear(cmd);
cmd = gb_string_append_length(cmd, build_context.ODIN_ANDROID_JAR_SIGNER.text, build_context.ODIN_ANDROID_JAR_SIGNER.len);
- cmd = gb_string_append_fmt(cmd, " -storepass android");
+ cmd = gb_string_append_fmt(cmd, " -storepass \"%.*s\"", LIT(build_context.android_keystore_password));
if (build_context.android_keystore.len != 0) {
String keystore = normalize_path(temporary_allocator(), build_context.android_keystore, NIX_SEPARATOR_STRING);
keystore = substring(keystore, 0, keystore.len - 1);