Improve setup instructions

This commit is contained in:
Bianca 2025-03-05 22:17:12 +01:00
parent 36a18b962d
commit f897b1aed3

View file

@ -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