mirror of
https://github.com/kiwix/kiwix-android-custom.git
synced 2025-09-24 04:32:19 -04:00
Kiwix Android repo needs first to be cloned
This commit is contained in:
parent
2663197536
commit
ebef3fce9c
13
README.md
13
README.md
@ -103,7 +103,7 @@ The app version name is determined in that order:
|
|||||||
publisher can easily create a discrepency with the ZIM content date,
|
publisher can easily create a discrepency with the ZIM content date,
|
||||||
this should probably be avoided in most of the time.
|
this should probably be avoided in most of the time.
|
||||||
1. If nothing is specified in the json, then it tries to extract it
|
1. If nothing is specified in the json, then it tries to extract it
|
||||||
from the ZIM file name. If the file is
|
from the ZIM file name. If the file - specified in `zim_url` - is
|
||||||
`wikipedia_en_all_maxi_2018-10.zim` then it will be `2018-10`.
|
`wikipedia_en_all_maxi_2018-10.zim` then it will be `2018-10`.
|
||||||
1. Otherwise the current date will be put (should be avoided).
|
1. Otherwise the current date will be put (should be avoided).
|
||||||
|
|
||||||
@ -120,9 +120,14 @@ Simply tag the repo in git with the name of a custom app eg
|
|||||||
|
|
||||||
## Building Locally
|
## Building Locally
|
||||||
|
|
||||||
Copy a custom app directory to `kiwix-android/custom/src`. If using
|
First of all the Kiwix Android needs to be cloned locally:
|
||||||
Android Studio this will add the build variant and you can install as
|
```bash
|
||||||
you would any app.
|
git clone https://github.com/kiwix/kiwix-android.git
|
||||||
|
```
|
||||||
|
|
||||||
|
Copy then a custom app directory to `kiwix-android/custom/src`. If
|
||||||
|
using Android Studio this will add the build variant and you can
|
||||||
|
install as you would any app.
|
||||||
|
|
||||||
Alternatively run `./gradlew
|
Alternatively run `./gradlew
|
||||||
install[CustomAppNameWithFirstLetterCapitalised]Debug` eg `./gradlew
|
install[CustomAppNameWithFirstLetterCapitalised]Debug` eg `./gradlew
|
||||||
|
Loading…
x
Reference in New Issue
Block a user