Files
Imrayya 4e3befbb82
Build Server .exe / build (push) Failing after 2m16s
Add build.bat for local .exe builds
2026-07-01 15:01:08 +00:00

32 lines
570 B
Batchfile

@echo off
REM PaperDash Server Build Script
REM Creates venv, installs dependencies, and builds PaperDash.exe
setlocal
cd /d "%~dp0"
REM Create venv if it doesn't exist
if not exist "venv" (
echo Creating virtual environment...
python -m venv venv
)
REM Activate venv
call venv\Scripts\activate.bat
REM Install dependencies
echo Installing dependencies...
pip install --upgrade pip
pip install -r requirements.txt
REM Build the .exe
echo Building PaperDash.exe...
python build_exe.py
echo.
echo Build complete!
echo Output: dist\PaperDash.exe
echo.
pause