The launcher of my game is a fused love.app+launcher.love file, which when opened, downloads the game files to the save directory of the launcher. It also downloads a love.app inside there so that the launcher can run the command:
Code: Select all
os.execute("cd '" .. love.filesystem.getSaveDirectory() .. "' && open -n -a love 'Game'")
The whole idea is for the launcher and the game to work without the user having to download Love manually. (The purpose of the launcher is to automatically download updates and such)
The Problem
The launcher can't successfully download Love.app (I'm guessing because it includes these aliases inside its folder structure, so it downloads all the files but doesn't work)
I wouldn't need to download Love.app again in the save directory if I can somehow use the fused love.app to open the game in the save directory instead of opening the launcher.love inside of it (but I'm not sure how to do that)
My Attempt
I thought the most guarenteed way to download the Love.app correctly would be to download it as a zip, but then, Love can't really unzip files, can it? (I know about the unmount but would that work?)
So either that or figuring out how to use the fused love.app to open another file instead of the .love inside it
Thanks!