From 0e5806cadda5f4673797d0190ba7ec34d2d78273 Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Mon, 5 Aug 2024 12:26:10 -0400 Subject: [PATCH] Re-add classes.dex to the F-Droid APK. (!) --- GNUmakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GNUmakefile b/GNUmakefile index fa22984e..6fe1ad8d 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -842,7 +842,7 @@ out/apk/TildeFriends-%.fdroid.unsigned.apk: @cp out/apk/classes.dex out/apk-fdroid-$(BUILD_TYPE)/classes.dex @touch -d @0 out/apk-fdroid-$(BUILD_TYPE)/lib/*/libtildefriends.so @chmod 755 out/apk-fdroid-$(BUILD_TYPE)/lib/*/libtildefriends.so - @cd out/apk-fdroid-$(BUILD_TYPE) && zip -X -u ../../$@.zip -q lib/*/libtildefriends.so && cd ../../ + @cd out/apk-fdroid-$(BUILD_TYPE) && zip -X -u ../../$@.zip -q classes.dex lib/*/libtildefriends.so && cd ../../ @mkdir out/apk-fdroid-$(BUILD_TYPE)-raw @for i in $(RAW_FILES); do mkdir -p $$(dirname out/apk-fdroid-$(BUILD_TYPE)-raw/$$i) && cp $$i out/apk-fdroid-$(BUILD_TYPE)-raw/$$i && touch -d @0 out/apk-fdroid-$(BUILD_TYPE)-raw/$$i && chmod 644 out/apk-fdroid-$(BUILD_TYPE)-raw/$$i; done @cd out/apk-fdroid-$(BUILD_TYPE)-raw && zip -X -u ../../$@.zip -q $(RAW_FILES) && cd ../../