How add files to a desktop?

Godot Version

4.3

Question

Does anybody know how to add files to desktop? For example, this one game, Outcore, adds a PNG file on your desktop occasionally while in game. Is Godot capable of anything like that?

You can select a path with FileAccess.open and write your contents to the file. Finding the desktop will be a short maze, key information needed being the user’s home directory.

Thanks!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.