/ chandeskpro / BUILD.md
swadhinbiswas Initial release v0.1.0 · 1/16/2026
ed7a4e4
105 lines · 2.0 KB
Raw Download

Cross-Platform Build Guide

Supported Platforms

Platform Format Status
Linux .deb, .AppImage, .rpm ✅ Ready
Windows .msi, .exe (NSIS) ✅ Ready
macOS Intel .dmg, .app ✅ Ready
macOS ARM .dmg, .app ✅ Ready
Android .apk ✅ Ready
iOS .ipa ✅ Ready

Quick Build Commands

Desktop (Current Platform)

# Development
bun run tauri:dev

# Production build
bun run tauri:build

Linux

# Install dependencies (Ubuntu/Debian)
sudo apt install libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev

# Build
cargo tauri build

Windows

# No extra dependencies needed
cargo tauri build

macOS

# Intel
rustup target add x86_64-apple-darwin
cargo tauri build --target x86_64-apple-darwin

# Apple Silicon
rustup target add aarch64-apple-darwin
cargo tauri build --target aarch64-apple-darwin

Mobile Builds

Android

# Setup
rustup target add aarch64-linux-android armv7-linux-androideabi x86_64-linux-android
cargo tauri android init

# Build APK
cargo tauri android build --apk

# Build AAB (Play Store)
cargo tauri android build --aab

iOS

# Setup (macOS only)
rustup target add aarch64-apple-ios x86_64-apple-ios
cargo tauri ios init

# Build
cargo tauri ios build

GitHub Actions CI/CD

Push a tag to trigger builds:

git tag v0.1.0
git push origin v0.1.0

Artifacts will be uploaded for all platforms!


Output Locations

Platform Path
Linux DEB src-tauri/target/release/bundle/deb/
Linux AppImage src-tauri/target/release/bundle/appimage/
Windows MSI src-tauri/target/release/bundle/msi/
Windows NSIS src-tauri/target/release/bundle/nsis/
macOS DMG src-tauri/target/release/bundle/dmg/
Android APK src-tauri/gen/android/app/build/outputs/apk/
iOS IPA src-tauri/gen/apple/build/