remove file
Posted: Tue Jan 16, 2024 5:21 pm
I made a file and want to remove it in löve2d. when I use the love.filesystem.remove("wow.lua") it doesn't delete the file
closed? Does the file have to be opened first?darkfrei wrote: ↑Tue Jan 16, 2024 9:06 pmhttps://love2d.org/wiki/love.filesystem.remove
Be sure that the file is closed.
Check that you are referring to the same path as the filesystem module is:
https://love2d.org/wiki/love.filesystemThis module provides access to files in specific places:
The root folder of the .love archive (or source directory)
The root folder of the game's save directory.
The folder containing the game's .love archive (or source directory), but only if specific conditions are met.