From 99f20ae465045d77e70507cef5a7703a8d51ccc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bianca=20F=C3=BCrstenau?= Date: Wed, 26 Feb 2025 11:34:11 +0100 Subject: [PATCH] Run instructions --- README.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/README.md b/README.md index 4a8937b..155b6e1 100644 --- a/README.md +++ b/README.md @@ -6,3 +6,30 @@ git restore gen/android/app/build.gradle.kts cargo tauri img/icon.svg # Set up gen/android/keystore.properties ``` + +# 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. + +```bash +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. + +```bash +NDK_HOME= ANDROID_HOME= cargo tauri android dev --features tauri +```