Files
Goddess/build.bat
TutorialsGHG 09dd169ebe Initial commit
2026-04-12 22:00:18 +02:00

38 lines
858 B
Batchfile

@echo off
echo ============================================
echo NotifyPulse - Builder
echo ============================================
echo.
echo [1/3] Installing dependencies...
python -m pip install -r requirements.txt
if errorlevel 1 (
echo ERROR: pip install failed.
pause
exit /b 1
)
echo.
echo [2/3] Preparing icon...
python make_ico.py
echo.
echo [3/3] Building exe...
if exist icon.ico (
python -m PyInstaller --onefile --noconsole --name NotifyPulse --icon icon.ico notifier.py
) else (
python -m PyInstaller --onefile --noconsole --name NotifyPulse notifier.py
)
if errorlevel 1 (
echo ERROR: Build failed.
pause
exit /b 1
)
echo.
echo ============================================
echo Build complete! Your exe: dist\NotifyPulse.exe
echo ============================================
echo.
explorer dist
pause