In order to do that, I need to be able to write files outside of the launcher.love, so I can't use love's filesystem. I simply use Lua's io library.
In order to create directories, I need to run os.execute("mkdir Dirname"), which works perfectly on Windows, but for some reason, I can't get it to work on Mac at all.
No errors, it just doesn't create the directory. I had a suspicion that I just wasn't directing the correct directory, but even when entering the full path to the folder that the launcher.love is in by doing:
Code: Select all
os.execute("cd Full/Path/To/My/Folder && mkdir Dirname")