-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.bat
More file actions
33 lines (28 loc) · 681 Bytes
/
build.bat
File metadata and controls
33 lines (28 loc) · 681 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
@echo off
echo Building PosterPilot Windows EXE...
echo.
:: Check for Python
python --version >nul 2>&1
if errorlevel 1 (
echo ERROR: Python is not installed or not in PATH.
pause
exit /b 1
)
:: Install dependencies
echo Installing dependencies...
pip install -r requirements.txt
pip install pyinstaller
:: Build
echo.
echo Building with PyInstaller...
pyinstaller posterpilot.spec --clean
echo.
if exist "dist\PosterPilot.exe" (
echo Build successful! EXE is at: dist\PosterPilot.exe
echo.
echo To run: dist\PosterPilot.exe
echo The app will open at http://127.0.0.1:8888
) else (
echo Build failed. Check the output above for errors.
)
pause