This commit is contained in:
2025-09-25 22:26:32 +03:00
parent 854b6980bc
commit 02277dd55b
27 changed files with 3636 additions and 1855 deletions

View File

@@ -0,0 +1,26 @@
@echo off
echo Building standalone Windows Print Service executable...
REM Check if PyInstaller is available
pip show pyinstaller >nul 2>&1
if %errorLevel% neq 0 (
echo Installing PyInstaller...
pip install pyinstaller
)
REM Build standalone executable
echo Creating standalone executable...
pyinstaller --onefile --noconsole --name="QualityPrintService" print_service_complete.py
if %errorLevel% equ 0 (
echo.
echo ✓ Executable created successfully!
echo Location: dist\QualityPrintService.exe
echo.
echo You can now distribute the .exe file instead of the Python script
echo Update install_service_complete.bat to use the .exe file
) else (
echo ERROR: Failed to create executable
)
pause