diff --git a/desktop/build-windows.bat b/desktop/build-windows.bat index 464bbff..644bb3d 100644 --- a/desktop/build-windows.bat +++ b/desktop/build-windows.bat @@ -1,6 +1,6 @@ @echo off REM ============================================================ -REM ObsiGate Desktop — Build Windows (.msi + .exe) +REM ObsiGate Desktop — Build Windows (NSIS installer) REM Prérequis : Rust, Tauri CLI, NSIS, Python 3.11 embed REM ============================================================ setlocal enabledelayedexpansion @@ -52,8 +52,8 @@ xcopy /E /I /Q /Y "..\frontend" "frontend" echo ✅ Staged REM ── 3. Build Tauri ──────────────────────────────────────────── -echo [3/6] Building Tauri application... -cargo tauri build --target x86_64-pc-windows-msvc --bundles msi,nsis +echo [3/6] Building Tauri application (NSIS per-user installer)... +cargo tauri build --target x86_64-pc-windows-msvc --bundles nsis if errorlevel 1 ( echo ❌ Build failed! goto :cleanup @@ -77,8 +77,7 @@ echo ✅ Cleaned REM ── 6. Résultats ─────────────────────────────────────────────── echo [6/6] Results: -dir /b "%OUTDIR%\bundle\msi\*.msi" 2>nul dir /b "%OUTDIR%\bundle\nsis\*.exe" 2>nul echo. -echo ✅ Done! Check %OUTDIR%\bundle\ +echo ✅ Done! Installer: %OUTDIR%\bundle\nsis\ endlocal