From 23fdc4d8f2fb35f46a4f8d4a2f09255698297bdc Mon Sep 17 00:00:00 2001 From: bruno Date: Sun, 26 Jul 2026 10:10:48 -0400 Subject: [PATCH] =?UTF-8?q?docs:=20utiliser=20Scoop=20pour=20les=20pr?= =?UTF-8?q?=C3=A9requis=20Windows=20dans=20les=20README=20desktop?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - desktop/README.md: section Windows réécrite avec scoop install rustup curl git - README.md: build from source Windows mis à jour avec Scoop --- README.md | 8 ++++++-- desktop/README.md | 21 ++++++++++++++------- 2 files changed, 20 insertions(+), 9 deletions(-) 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`