-
Notifications
You must be signed in to change notification settings - Fork 0
Entwicklung
GitHub Action edited this page Jul 28, 2026
·
1 revision
Der schnellste Weg, die UI ohne Hardware zu entwickeln:
npm install
MOCK=1 npm run devDer Mock-Layer simuliert alle Tauri-Commands mit reaktiven State β im MockPanel (π-Button unten rechts) kannst du Werte live Γ€ndern.
npm run tauri dev # Volle App mit Hot-Reload (braucht Rust + System-Deps)
npm run dev # Nur Frontend Vite Dev-Server
npm run build # Frontend Production-Build
npm run test # Frontend Unit-Tests (Vitest)
npm run check # Type-Check (svelte-check)
cargo test --workspace # Rust Unit-Tests
cargo clippy --workspace # Rust Lintfixplay-diagnoseTool/
βββ src/ # Svelte 5 Frontend (TypeScript)
β βββ lib/
β β βββ api/ # Typisierte Tauri-Invoke-Wrapper
β β βββ components/ # UI-Komponenten
β β βββ controllers/ # DualSense HID-Protokoll (USB + BT)
β β βββ mock/ # Browser-Mock-Layer (MOCK=1)
β β βββ stores/ # Svelte Stores
β βββ routes/ # SvelteKit-Routen
βββ src-tauri/ # Rust Backend (Tauri v2)
β βββ src/
β β βββ commands/ # Tauri-Command-Handler
β β βββ state.rs # AppState
β βββ binaries/ # GebΓΌndeltes flashrom
β βββ resources/ # Fehlercode-Datenbank
βββ crates/ # Rust Workspace Crates
β βββ fixplay-core/ # Traits + geteilte Typen
β βββ fixplay-flashrom/ # flashrom-Subprozess
β βββ fixplay-i2c/ # I2C-Bridge-Protokoll
β βββ fixplay-uart/ # UART + Fehler-DB
βββ static/ # Statische Assets
| Schicht | Technologie |
|---|---|
| Frontend | Svelte 5 (Runes), TypeScript, Tailwind CSS v4, Vite |
| Backend | Rust 2021, Tauri v2, hidapi, serialport, reqwest |
| Testing | Vitest (Frontend), cargo test (Rust) |
| CI/CD | GitHub Actions |
Releases sind vollstΓ€ndig automatisiert. Ein Tag-Push lΓΆst den Build aus:
git tag v0.2.1
git push origin v0.2.1Der Workflow (.github/workflows/release.yml) baut:
-
Linux: AppImage,
.deb,.rpm -
Windows:
.msi,.exe -
Arch:
.pkg.tar.zst -
AUR:
fixplay-diagnosetool+-binwerden automatisch aktualisiert -
Updater:
latest.jsonmit SHA256 + Signaturen
Pre-Release-Tags (enthalten -) ΓΌberspringen den AUR-Schritt.