fixes Android build

This commit is contained in:
xfitgd
2026-03-19 08:27:09 +09:00
parent c48624ce01
commit b965e46d7c
2 changed files with 12 additions and 5 deletions

View File

@@ -186,7 +186,11 @@ i32 bundle_android(String original_init_directory) {
gb_string_clear(cmd);
cmd = gb_string_append_length(cmd, android_sdk_build_tools.text, android_sdk_build_tools.len);
#if defined(GB_SYSTEM_WINDOWS)
cmd = gb_string_appendc(cmd, "apksigner.bat");
#else
cmd = gb_string_appendc(cmd, "apksigner");
#endif
cmd = gb_string_appendc(cmd, " sign");
String keystore = normalize_path(temporary_allocator(), build_context.android_keystore, NIX_SEPARATOR_STRING);