This Powershell program will generate a game.exe of your love game.
Right click the file and chose run with Powershell
- It will check if there is a executable named game.exe in your output path ($path1) and removes it if that's the case.
- It will compress your game in a zipfile.
- It will merge your zip file with some magic to create an executable.
- It will remove the zip.
- It will copy over the DLL files.
- Make sure this folder exists: "C:\Dev\love-windows" or chose a different location but then you'l have to update $path1 = "C:\Dev\love-windows" to that
- Check if your $path2 = "C:\Program Files\LOVE" is pointing to where Löve is installed.
- $path3 = "D:\Documents\Programming\Lua\Games\Numbergame*" <-- change this to where your game (main.lua) is located.
I'm not a Powerhsell expert so feel free to add to this.