engine/lovedd installation.bat

22 lines
432 B
Batchfile

@echo off
echo installing Love2D 11.5
set DOWNLOAD_URL=https://github.com/love2d/love/releases/download/11.5/love-11.5-win64.exe
set INSTALLER=%TEMP%\love-installer.exe
echo download started
curl -L -o "%INSTALLER%" "%DOWNLOAD_URL%"
if %errorlevel% neq 0 (
echo failed to install
pause
exit /b 1
)
echo running installer...
"%INSTALLER%"
setx PATH "%PATH%;C:\Program Files\LOVE"
echo i think it installed idk
pause