Skip to content

Commit bf484f7

Browse files
committed
Fix windows user profile env variable from @cjmang
1 parent c265859 commit bf484f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/dev/koifysh/archipelago/Client.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public abstract class Client {
3333
static
3434
{
3535
String appData = System.getenv("LOCALAPPDATA");
36-
String userHome = System.getProperty("user.home");
36+
String userHome = System.getProperty("USERPROFILE");
3737
if(appData == null || appData.isEmpty()) {
3838
windowsDataPackageCache = Paths.get(userHome, "appdata","local","Archipelago","cache","datapackage");
3939

0 commit comments

Comments
 (0)