Compare commits

...

1 Commits

Author SHA1 Message Date
Viktor Liu
3e9f0d57ac [client] Fix windows info out of bounds panic (#3196) 2025-01-16 22:19:32 +01:00

View File

@@ -105,7 +105,7 @@ func getOSNameAndVersion() (string, string) {
split := strings.Split(dst[0].Caption, " ") split := strings.Split(dst[0].Caption, " ")
if len(split) < 3 { if len(split) <= 3 {
return "Windows", getBuildVersion() return "Windows", getBuildVersion()
} }