fixed package so it contains templates, updated config for more control

This commit is contained in:
2026-06-08 19:29:03 -07:00
parent 4d0fb606af
commit 0c90ab885e
36 changed files with 267 additions and 635 deletions
+19
View File
@@ -0,0 +1,19 @@
:: Read the first line of version.txt and assign it to the MY_VERSION variable
for /f "usebackq delims=" %%i in ("version.txt") do (
set "userInput=%%i"
goto :done
)
:done
"C:\Program Files\7-Zip\7z.exe" a -tzip game.love templates version.txt assets multi\integration\loveManager multi\integration\sharedExtensions multi\init.lua gui menus conf.lua fmt.lua loader.lua main.lua utils.lua yaml.lua
rd /s /q "bin\%userInput%"
if not exist "bin\%userInput%" mkdir "bin\%userInput%"
copy /b love\love.exe + game.love "bin\%userInput%\Jeopardy.exe"
copy /b love\love.dll "bin\%userInput%\love.dll"
copy /b lovel\lua51.dll "bin\%userInput%\lua51.dll"
copy /b love\mpg123.dll "bin\%userInput%\mpg123.dll"
copy /b love\msvcp120.dll "bin\%userInput%\msvcp120.dll"
copy /b love\msvcr120.dll "bin\%userInput%\msvcr120.dll"
copy /b love\OpenAL32.dll "bin\%userInput%\OpenAL32.dll"
copy /b love\SDL2.dll "bin\%userInput%\SDL2.dll"
copy /b love\license.txt "bin\%userInput%\license.txt"