UWP: Move settings dir to localappdata

This commit is contained in:
= 2025-06-22 19:25:30 -04:00
parent 6f796f1faf
commit fa3c718e5b

View file

@ -237,6 +237,8 @@ class Settings {
#if hl
#if MACOS_BUNDLE
public static var settingsDir = Path.join([Sys.getEnv("HOME"), "Library", "Application Support", "MBHaxe-MBU"]);
#elseif uwp
public static var settingsDir = Sys.getEnv("LOCALAPPDATA");
#else
public static var settingsDir = ".";
#end