20 lines
495 B
Batchfile
20 lines
495 B
Batchfile
@echo off
|
|
cd /d "%~dp0"
|
|
call ..\.venv\Scripts\python.exe -m PyInstaller --version >nul 2>&1
|
|
if errorlevel 1 (
|
|
echo PyInstaller not installed. Run first:
|
|
echo ..\.venv\Scripts\python.exe -m pip install pyinstaller
|
|
pause
|
|
exit /b 1
|
|
)
|
|
call ..\.venv\Scripts\python.exe -m PyInstaller RRPP_Lite.spec --noconfirm
|
|
if errorlevel 1 (
|
|
echo.
|
|
echo Build failed.
|
|
pause
|
|
exit /b 1
|
|
)
|
|
echo.
|
|
echo Build complete. Output: dist\Royirin Rosmontis Private Proxy Lite Python.exe
|
|
pause
|