2
0
mirror of https://github.com/koreader/koreader synced 2024-11-10 01:10:34 +00:00

make: fix missing android APK asset

Missing `module/version.txt` would trigger a "new install" on every launch.
This commit is contained in:
Benoit Pierre 2024-08-11 15:41:18 +02:00 committed by Frans de Jonge
parent c46578aece
commit 5fe0d4a4a2

View File

@ -34,6 +34,7 @@ update: all
rm -rfv $(ANDROID_LIBS)
# APK version
mkdir -p $(ANDROID_ASSETS)/module $(ANDROID_LIBS)
echo $(VERSION) >$(ANDROID_ASSETS)/module/version.txt
# We need strip the version, or versioned
# libraries won't be included in the APK.
for src in $(INSTALL_DIR)/koreader/libs/*; do \