Android bundle update (#6870)

- adaptative icons
- minify + shrink
- remove unused assets to save a few KBs
- install apk by clicking on notification after download (doesn't apply to F-Droid)
This commit is contained in:
Martín Fernández
2020-11-13 00:50:24 +01:00
committed by GitHub
parent bab55bfa0d
commit 1468646aa5
3 changed files with 18 additions and 4 deletions

View File

@@ -358,14 +358,28 @@ androidupdate: all
# assets are compressed manually and stored inside the APK.
cd $(INSTALL_DIR)/koreader && 7z a -l -mx=9 -mfb=256 -mmt=on \
../../$(ANDROID_LAUNCHER_DIR)/assets/module/koreader-$(VERSION).zip * \
-xr!*cache$ \
-xr!*clipboard$ \
-xr!*data/dict$ \
-xr!*data/tessdata$ \
-xr!*history$ \
-xr!*l10n/templates$ \
-xr!*ota$ \
-xr!*resources/fonts* \
-xr!*resources/icons/src* \
-xr!*rocks/bin$ \
-xr!*rocks/lib/luarocks$ \
-xr!*screenshots$ \
-xr!*share/man* \
-xr!*spec$ \
-xr!*tools$ \
-xr!*COPYING$ \
-xr!*Makefile$ \
-xr!*NOTES.txt$ \
-xr!*NOTICE$ \
-xr!*README.md$ \
-xr!git$ \
-xr!gitiginore$
-xr!*koreader.icns$ \
-xr'!.*'
# make the android APK
$(MAKE) -C $(ANDROID_LAUNCHER_DIR) $(if $(KODEBUG), debug, release) \

2
l10n

Submodule l10n updated: 3238f54991...6d0396d8c1