The following code works when I start the game from the editor:
var dir = Directory.new()
dir.remove("path/to/file")
But after exporting the game to Debug or Release, seems like it does nothing
What is happening?
After remove, I check if the file exists with
dir.file_exists("path/to/file")
It works, but then dir.remove does nothing
Thanks in advance
P.S: I'm using Godot 3.1.1 stable with W10