No description
| assets | ||
| capabilities | ||
| gen/android/app | ||
| migrations | ||
| src | ||
| .gitignore | ||
| build.rs | ||
| Cargo.lock | ||
| Cargo.toml | ||
| leptosfmt.toml | ||
| README.md | ||
| rust-analyzer.toml | ||
| rustfmt.toml | ||
| styles.scss | ||
| taplo.toml | ||
| Tauri.toml | ||
| trunk.html | ||
| Trunk.toml | ||
Setup
Clone the repository and in the root directory of the repo, execute
cargo tauri icon assets/icon.svg
and write the Nextcloud token
into src/server/cloud_user.txt.
Android
To enable android development, additionally execute
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
Tauri does not seem to support specifying the binary to be run in a config, so we have to do it on the command line.
cargo tauri dev -- --bin tauri
Android Development
Tauri does not seem to support specifying the Cargo features of the library for mobile in a config, so we have to do it on the command line.
NDK_HOME=<path> ANDROID_HOME=<path> cargo tauri android dev --features tauri