build(gui): add Windows GUI V6 one-click packaging

This commit is contained in:
2026-06-13 09:31:14 +02:00
parent 562f5a76dd
commit 873fd5622a
3 changed files with 102 additions and 14 deletions

View File

@@ -3,9 +3,11 @@
Le packaging Windows standard du projet repose sur :
- `build_windows_oneclick.bat`
- `build_windows_gui_v6_oneclick.bat`
- `build_windows_installer_oneclick.bat`
- `scripts/build_windows_oneclick.ps1`
- `anonymisation_onefile.spec`
- `anonymisation_gui_v6_onefile.spec`
- `installer/Anonymisation.iss`
## Usage
@@ -65,6 +67,33 @@ Pour ne générer que l'exécutable et le ZIP :
powershell -ExecutionPolicy Bypass -File .\scripts\build_windows_oneclick.ps1 -SkipInstaller
```
## GUI V6
La GUI V6 utilise le même pipeline PyInstaller + Inno Setup, mais avec l'entrée
`Pseudonymisation_Gui_V6.py` et la spec dédiée `anonymisation_gui_v6_onefile.spec`.
Le comportement historique reste le défaut du script one-click.
Sur la machine Windows de build :
```powershell
powershell -ExecutionPolicy Bypass -File .\scripts\build_windows_oneclick.ps1 -GuiV6
```
ou double-cliquer sur :
```text
build_windows_gui_v6_oneclick.bat
```
Sorties attendues identiques :
- `dist\Anonymisation.exe` : exécutable GUI V6 ;
- `release\Anonymisation-Windows\Anonymisation.exe` : paquet local ;
- `release\Anonymisation-Windows.zip` : archive locale ;
- `release\Anonymisation-Setup.exe` : installateur destiné au portail après GO
diffusion ;
- `release\Anonymisation.exe.sha256.txt` : hash de l'exécutable.
## Important
- les utilisateurs finaux n'ont pas besoin d'installer Python