boklm pushed to branch main at The Tor Project / Applications / tor-browser-build
Commits:
-
1e44ffd9
by Dan Ballard at 2026-11-05T12:44:23+01:00
2 changed files:
Changes:
| ... | ... | @@ -14,5 +14,5 @@ if test "$#" -ne 1; then |
| 14 | 14 | fi
|
| 15 | 15 | |
| 16 | 16 | apksigner sign --ks "$script_dir/android-key/${key_alias}-private.p12" \
|
| 17 | - --ks-pass "pass:${key_password}" --out signed.apk "$1"
|
|
| 17 | + --ks-pass "pass:${key_password}" --alignment-preserved true --out signed.apk "$1"
|
|
| 18 | 18 | echo "Signed $1 in signed.apk" |
| ... | ... | @@ -58,7 +58,7 @@ sign_apk() { |
| 58 | 58 | echo Signing ${INPUTAPK}
|
| 59 | 59 | |
| 60 | 60 | # Use this command if reading key from file
|
| 61 | - apksigner sign --verbose -ks ${android_signing_key_path} --ks-type pkcs12 --ks-pass env:KSPASS --debuggable-apk-permitted=false --out "${SIGNEDAPK}" "${INPUTAPK}"
|
|
| 61 | + apksigner sign --verbose -ks ${android_signing_key_path} --ks-type pkcs12 --ks-pass env:KSPASS --debuggable-apk-permitted=false --alignment-preserved true --out "${SIGNEDAPK}" "${INPUTAPK}"
|
|
| 62 | 62 | |
| 63 | 63 | # Or, use below command if using a hardware token
|
| 64 | 64 | # apksigner sign --verbose --provider-class sun.security.pkcs11.SunPKCS11 --provider-arg pkcs11_java.cfg --ks NONE --ks-type PKCS11 --debuggable-apk-permitted=false --out "${SIGNEDAPK}" "${INPUTAPK}"
|