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
|
# Setup
|
||||||
|
|
||||||
|
Clone the repository
|
||||||
|
and in the root directory
|
||||||
|
of the repo,
|
||||||
|
execute:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone …
|
cargo tauri icon assets/icon.svg
|
||||||
cargo tauri android init
|
|
||||||
git restore gen/android/app/build.gradle.kts
|
|
||||||
cargo tauri img/icon.svg
|
|
||||||
# Set up gen/android/keystore.properties
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## 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
|
# Run
|
||||||
|
|
||||||
## Linux Development
|
## Linux Development
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue