feat(boot): écran de chargement inline + staging backend/frontend pour le bundle desktop
CI / lint (push) Failing after 16s
CI / test (push) Skipped
CI / build (push) Skipped
CI / e2e (push) Skipped
CI / security (push) Successful in 18s
Desktop Build / build-windows (push) Canceled after 0s
Desktop Build / build-linux (push) Canceled after 0s

- frontend/index.html : splash #boot-splash 100% inline (CSS+JS), scripts CDN en defer pour ne pas bloquer le premier paint
- frontend/js/app.js : signale le boot terminé via __OBSIGATE_BOOTED (try/finally)
- desktop/src/main.rs : met à jour le statut du splash avant la redirection vers le backend
- ci: stage backend/ + frontend/ sous desktop/ avant tauri build (resources backend/** et frontend/**) dans desktop-build.yml et build-linux.sh
- desktop/gen/schemas/windows-schema.json : régénéré (permissions store/updater)
- docs: README, README.fr, ROADMAP
This commit is contained in:
2026-08-24 15:50:49 -04:00
parent 6da7fa6786
commit 331c614330
9 changed files with 1199 additions and 107 deletions
+13
View File
@@ -29,6 +29,15 @@ pip install --upgrade pip -q
pip install -r ../backend/requirements.txt -q
echo "✅ Python environment ready"
# ── 2b. Stage backend + frontend pour le bundle ───────────────
# tauri.conf.json embarque backend/** et frontend/** depuis desktop/ :
# sans ce staging, tauri_build échoue (« glob pattern backend/**/* path not found »).
echo "[2b/5] Staging backend + frontend for bundle..."
rm -rf backend frontend
cp -r ../backend backend
cp -r ../frontend frontend
echo "✅ Staged"
# ── 3. Build Tauri ────────────────────────────────────────────
echo "[3/5] Building Tauri application..."
cargo tauri build --target x86_64-unknown-linux-gnu --bundles deb,appimage
@@ -43,6 +52,10 @@ cp -r ../backend "$OUTDIR/"
cp -r ../frontend "$OUTDIR/"
echo "✅ Runtime + frontend copied"
# ── 4b. Nettoyer les dossiers stagés ──────────────────────────
rm -rf backend frontend
echo "✅ Cleaned"
# ── 5. Résultats ───────────────────────────────────────────────
OUTDIR="target/x86_64-unknown-linux-gnu/release"
echo "[5/5] Results:"