This commit is contained in:
s3cst4rs 2025-06-20 15:37:20 -04:00 committed by GitHub
commit 0faface474
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -368,6 +368,9 @@ func (t Token) GetUserProfileDirectory() (string, error) {
if e == nil {
return UTF16ToString(b), nil
}
if e == ERROR_FILE_NOT_FOUND {
return "", nil
}
if e != ERROR_INSUFFICIENT_BUFFER {
return "", e
}