function list_files()
print('locally saved files {')
for _,filename in ipairs(nativefs.getDirectoryItems(love.filesystem.getSaveDirectory()..'/screens')) do
print(filename)
end
print('}')
end
list_files()
-- Temporarily run commands like these to clear edits from the save dir
--love.filesystem.remove('screens/layout')
--love.filesystem.remove('screens/scratch')
-- Gotcha #1: You have to run the app twice after uncommenting a line here. Run, then edit, then run again.
-- Gotcha #2: Don't forget to comment the line again after deleting such files. You'll keep losing your edits until you do.
-- Temporarily run commands like these to delete stashed files
--love.filesystem.remove('stash/main.1')
-- Uncomment, then run, then edit again to return here.
-- IMPORTANT: make sure you comment this line out afterwards, otherwise you'll lose future stashes.