Version initiale : diagnostic réseau AD + jointure de domaine
Application PySide6 (GUI + CLI) fonctionnant sous Linux et Windows : - Diagnostic réseau complet AD (DNS, SRV, ports, NTP, outils requis) - Jointure de domaine via realmd (Linux) ou Add-Computer (Windows) - Installation automatique des prérequis Linux (apt) - CLI colorée (diagnose/join/install-prereqs), sans dépendance PySide6 - Scripts de packaging PyInstaller pour Linux et Windows Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
@echo off
|
||||
REM Fabrique le binaire Windows autonome (.exe) de JoinDomainGUI avec PyInstaller.
|
||||
REM A executer SUR WINDOWS (PyInstaller ne fait pas de cross-compilation).
|
||||
setlocal
|
||||
|
||||
cd /d "%~dp0\.."
|
||||
|
||||
set VENV_DIR=.build-venv-windows
|
||||
if not exist "%VENV_DIR%" (
|
||||
python -m venv "%VENV_DIR%"
|
||||
)
|
||||
|
||||
call "%VENV_DIR%\Scripts\pip.exe" install --upgrade pip -q
|
||||
call "%VENV_DIR%\Scripts\pip.exe" install -q -r requirements.txt pyinstaller
|
||||
|
||||
"%VENV_DIR%\Scripts\pyinstaller.exe" ^
|
||||
--noconfirm ^
|
||||
--onefile ^
|
||||
--windowed ^
|
||||
--name JoinDomainGUI ^
|
||||
main.py
|
||||
|
||||
echo.
|
||||
echo Binaire produit : dist\JoinDomainGUI.exe
|
||||
echo Lancement : clic droit -^> Executer en tant qu'administrateur
|
||||
endlocal
|
||||
Reference in New Issue
Block a user