Skip to content

Conversation

@haslinghuis
Copy link
Member

@haslinghuis haslinghuis commented Oct 27, 2025

  • Started work in Add native support for desktop and android (Tauri) #4379
  • Integration of Tauri into the project, along with configuration and dependency updates.
  • Added support for serial communication for desktop and android
  • Tau-ri is preferred over Electron (as Electron would basically be the counterpart of NW.js)

References

Added #4684 for tracking

Requirements

# Update your system
sudo apt update && sudo apt upgrade -y

sudo apt install pkg-config
sudo apt install libwebkit2gtk-4.1-dev build-essential curl wget file libssl-dev libgtk-3-dev
sudo apt install libayatana-appindicator3-dev librsvg2-dev

# Install rust and cargo

# Remove snap rust if present
sudo snap remove rust

# Install via rustup
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source "$HOME/.cargo/env"

# Start development
yarn && yarn tauri:dev

Docker

echo 'FROM rust:latest
WORKDIR /app
RUN apt-get update && apt-get install -y libwebkit2gtk-4.1-dev build-essential curl wget libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev
RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - && apt-get install -y nodejs
RUN npm install -g yarn
COPY . .
RUN yarn install
CMD ["yarn", "tauri:dev"]' > Dockerfile

# Build and run the Docker container
docker build -t betaflight-dev .
docker run -it betaflight-dev

@haslinghuis haslinghuis self-assigned this Oct 27, 2025
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Oct 27, 2025

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

- Convert has_artifacts to string for GitHub Actions boolean check
- Add safety check for pull_requests array before accessing
- Prevents workflow failure when PR context is missing
The env var approach doesn't work in github-script inline mode.
Using direct template substitution for artifact_links output.
- Use explicit yarn tauri:build and set projectPath to src-tauri for tauri-action
- Broaden upload-artifact globs to capture bundles in nested target directories
- New tauri-android-preview job for PR builds
- Installs Java 17, Android SDK, and Rust Android targets
- Builds debug APK using Tauri
- Uploads APK artifact for testing
tauri-action appends 'build' automatically, so use 'yarn tauri android' not 'yarn tauri android build'
The Android project needs to be initialized before building.
Run 'tauri android init --ci' to generate src-tauri/gen/android/
VitroidFPV
VitroidFPV previously approved these changes Oct 27, 2025
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
7 Security Hotspots

See analysis details on SonarQube Cloud

@blckmn blckmn merged commit 02c04e4 into betaflight:tauri Oct 27, 2025
9 of 10 checks passed
@haslinghuis haslinghuis mentioned this pull request Oct 27, 2025
12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants