mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2025-12-23 08:23:48 +00:00
UWP: Move settings dir to localappdata
This commit is contained in:
parent
6f796f1faf
commit
fa3c718e5b
1 changed files with 2 additions and 0 deletions
|
|
@ -237,6 +237,8 @@ class Settings {
|
||||||
#if hl
|
#if hl
|
||||||
#if MACOS_BUNDLE
|
#if MACOS_BUNDLE
|
||||||
public static var settingsDir = Path.join([Sys.getEnv("HOME"), "Library", "Application Support", "MBHaxe-MBU"]);
|
public static var settingsDir = Path.join([Sys.getEnv("HOME"), "Library", "Application Support", "MBHaxe-MBU"]);
|
||||||
|
#elseif uwp
|
||||||
|
public static var settingsDir = Sys.getEnv("LOCALAPPDATA");
|
||||||
#else
|
#else
|
||||||
public static var settingsDir = ".";
|
public static var settingsDir = ".";
|
||||||
#end
|
#end
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue