From cedbaadf8c44145a89ee9e6d81e94c600a4fc59a Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Thu, 27 Jun 2024 14:18:47 +0200 Subject: [PATCH 1/2] inplace-fix.py also needs fix-pg-map-id.py to do the requested work. --- tools/release/release.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/release/release.sh b/tools/release/release.sh index d51a702388..b099241260 100755 --- a/tools/release/release.sh +++ b/tools/release/release.sh @@ -235,6 +235,7 @@ printf "Patching the FDroid APKs using inplace-fix.py...\n" inplaceFixScript="./tmp/inplace-fix.py" curl -s https://raw.githubusercontent.com/obfusk/reproducible-apk-tools/master/inplace-fix.py --output "${inplaceFixScript}" +curl -s https://raw.githubusercontent.com/obfusk/reproducible-apk-tools/master/fix-pg-map-id.py --output "fix-pg-map-id.py" python3 "${inplaceFixScript}" --page-size 16 fix-pg-map-id "${fdroidTargetPath}"/app-fdroid-arm64-v8a-release.apk '0000000' python3 "${inplaceFixScript}" --page-size 16 fix-pg-map-id "${fdroidTargetPath}"/app-fdroid-armeabi-v7a-release.apk '0000000' From c9c66ba9d3a7b2ccadbe2398c37e852b11833fb9 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Thu, 27 Jun 2024 14:56:52 +0200 Subject: [PATCH 2/2] Fix download path. --- tools/release/release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/release/release.sh b/tools/release/release.sh index b099241260..a71ae5d7e8 100755 --- a/tools/release/release.sh +++ b/tools/release/release.sh @@ -235,7 +235,7 @@ printf "Patching the FDroid APKs using inplace-fix.py...\n" inplaceFixScript="./tmp/inplace-fix.py" curl -s https://raw.githubusercontent.com/obfusk/reproducible-apk-tools/master/inplace-fix.py --output "${inplaceFixScript}" -curl -s https://raw.githubusercontent.com/obfusk/reproducible-apk-tools/master/fix-pg-map-id.py --output "fix-pg-map-id.py" +curl -s https://raw.githubusercontent.com/obfusk/reproducible-apk-tools/master/fix-pg-map-id.py --output "./tmp/fix-pg-map-id.py" python3 "${inplaceFixScript}" --page-size 16 fix-pg-map-id "${fdroidTargetPath}"/app-fdroid-arm64-v8a-release.apk '0000000' python3 "${inplaceFixScript}" --page-size 16 fix-pg-map-id "${fdroidTargetPath}"/app-fdroid-armeabi-v7a-release.apk '0000000'