diff --git a/README.md b/README.md index 664a42d..d1fc0e2 100644 --- a/README.md +++ b/README.md @@ -564,10 +564,14 @@ chmod +x build-linux.sh ``` ```cmd -REM Windows +REM Windows (via Scoop) +scoop install rustup curl git +rustup default stable +cargo install tauri-cli + cd desktop build-windows.bat -REM → target/release/bundle/msi/ObsiGate_2.0.0_x64.msi +REM → target\release\bundle\msi\ObsiGate_2.0.0_x64.msi ``` ### Architecture Desktop diff --git a/desktop/README.md b/desktop/README.md index be7dd0d..7f12754 100644 --- a/desktop/README.md +++ b/desktop/README.md @@ -89,21 +89,28 @@ Produits : - `target/release/bundle/deb/obsigate_2.0.0_amd64.deb` - `target/release/bundle/appimage/ObsiGate_2.0.0_amd64.AppImage` -### Windows +### Windows (via Scoop) -```cmd -:: 1. Prérequis (PowerShell admin) -winget install Rustlang.Rustup +```powershell +# 1. Installer Scoop (si pas déjà fait) +Set-ExecutionPolicy RemoteSigned -Scope CurrentUser -Force +irm get.scoop.sh | iex + +# 2. Prérequis via Scoop +scoop install rustup curl git +rustup default stable cargo install tauri-cli -:: 2. Cloner +# 3. Cloner git clone https://git.dracodev.net/Projets/ObsiGate.git cd ObsiGate\desktop -:: 3. Build -build-windows.bat +# 4. Build +.\build-windows.bat ``` +Le script télécharge automatiquement Python 3.11 embed et les dépendances backend. + Produits : - `target\release\bundle\msi\ObsiGate_2.0.0_x64.msi` - `target\release\bundle\nsis\ObsiGate_2.0.0_x64-setup.exe`