UserDefaults doesn't work on Windows when USERNAME and USERPROFILE don't match
Opened this issue · 0 comments
stevenbrix commented
Since UserDefaults hand builds the path to the local app data location, this location is incorrect if the USERNAME
doesn't match the USERPROFILE
location directory. This means that all UserDefaults
writes will fail because the location on disk won't exist.