Improve setup instructions
This commit is contained in:
parent
36a18b962d
commit
f897b1aed3
1 changed files with 21 additions and 5 deletions
26
README.md
26
README.md
|
@ -1,12 +1,28 @@
|
|||
# Setup
|
||||
|
||||
Clone the repository
|
||||
and in the root directory
|
||||
of the repo,
|
||||
execute:
|
||||
|
||||
```bash
|
||||
git clone …
|
||||
cargo tauri android init
|
||||
git restore gen/android/app/build.gradle.kts
|
||||
cargo tauri img/icon.svg
|
||||
# Set up gen/android/keystore.properties
|
||||
cargo tauri icon assets/icon.svg
|
||||
```
|
||||
|
||||
## Android
|
||||
|
||||
To enable android development,
|
||||
additionally execute
|
||||
|
||||
```bash
|
||||
rm gen/android/app/build.gradle.kts
|
||||
NDK_HOME=<path> ANDROID_HOME=<path> cargo tauri android init
|
||||
git restore gen/android/app/build.gradle.kts
|
||||
```
|
||||
|
||||
and set up `gen/android/keystore.properties`,
|
||||
e.g. following https://v2.tauri.app/distribute/sign/android/.
|
||||
|
||||
# Run
|
||||
|
||||
## Linux Development
|
||||
|
|
Loading…
Add table
Reference in a new issue