Making an .EXE of your LÖVE and Lua files [ON WINDOWS]
[ON WINDOWS] If you’re making a game with a combination of LÖVE and Lua then at some point you will want to make an executable.Â
This guide is for self reference but I figured I would put it on the internet as well.Â
1. Bundle game files into zip archiveÂ
NOTE: NOT the directory the files are in, but the actual files themselves. In particular the main.lua file which needs to be in the root of the zip file for the bundling process to work correctly.Â
2. Put zip archive into the same directory as love.exeÂ
3. Run any terminal shell with admin privileges
NOTE:Â Make sure to run any terminal as administrator otherwise the bundle will throw an authorization error.Â
4. Use copy command to combine files
copy /b love.exe+YourZipFile.zip YourGameName.exe Adjust naming as needed but love.exe must remain the same. If you are unfamiliar with console commands on windows use this as a reference:Â https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/copy













