Is it possible to save data to %Appdata% directory?

Hey, I’m working on saving data from a custom editor and by my game. Is it possible to save to %appdata% or haxe only allows to save in the application internally? I’ve searched quite a bunch and couldn’t find if that was an option. All the info is only regarding internal file system.

Thank you!

1 Like

You can obtain the value with Sys.getEnv(“AppData”) and save it there using sys.io.File.saveBytes
This will only work using “system” targets (HashLink, NodeJS)

1 Like