We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c739e9 commit 36f069eCopy full SHA for 36f069e
users.go
@@ -39,6 +39,13 @@ func GetUsers(installationDir string) ([]User, error) {
39
userID := userDir.Name()
40
userDir := filepath.Join(userdataDir, userID)
41
42
+ // Ignore anonymous userdata folder because it's only used for CLI downloads
43
+ // and it doesn't have required localconfig.vdf fields
44
+ userDirName := filepath.Base(userDir)
45
+ if (userDirName == "anonymous") {
46
+ continue
47
+ }
48
+
49
configFile := filepath.Join(userDir, "config", "localconfig.vdf")
50
// Malformed user directory. Without the localconfig file we can't get
51
// the username and the game list, so we skip it.
0 commit comments