[client] Fix macos privacy warning when checking static info (#3496)

avoid checking static info with a init call
This commit is contained in:
Carlos Hernandez
2025-04-25 06:41:57 -06:00
committed by GitHub
parent ef8b8a2891
commit c0eaea938e
5 changed files with 23 additions and 6 deletions

View File

@@ -185,3 +185,10 @@ func GetInfoWithChecks(ctx context.Context, checks []*proto.Checks) (*Info, erro
return info, nil
}
// UpdateStaticInfo asynchronously updates static system and platform information
func UpdateStaticInfo() {
go func() {
_ = updateStaticInfo()
}()
}