windows-build/build.bat
@echo off
cd %~dp0
echo "Currently in %cd%"
if "%PYTHON%" == "" (
echo "Set the PYTHON variable to point to the directory of the python executable."
exit 1
)
"%PYTHON%\python.exe" -m pip install pyinstaller pygame
"%PYTHON%\python.exe" -m PyInstaller KnitEditor.spec
"Inno Setup 5\ISCC.exe" KnitEditor.iss