forked from cory/tildefriends
Re-add classes.dex to the F-Droid APK. (!)
This commit is contained in:
parent
68c9d4afa7
commit
0e5806cadd
@ -842,7 +842,7 @@ out/apk/TildeFriends-%.fdroid.unsigned.apk:
|
|||||||
@cp out/apk/classes.dex out/apk-fdroid-$(BUILD_TYPE)/classes.dex
|
@cp out/apk/classes.dex out/apk-fdroid-$(BUILD_TYPE)/classes.dex
|
||||||
@touch -d @0 out/apk-fdroid-$(BUILD_TYPE)/lib/*/libtildefriends.so
|
@touch -d @0 out/apk-fdroid-$(BUILD_TYPE)/lib/*/libtildefriends.so
|
||||||
@chmod 755 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
|
@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
|
@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 ../../
|
@cd out/apk-fdroid-$(BUILD_TYPE)-raw && zip -X -u ../../$@.zip -q $(RAW_FILES) && cd ../../
|
||||||
|
Loading…
Reference in New Issue
Block a user