[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

@@ -48,6 +48,9 @@ var loginCmd = &cobra.Command{
return err
}
// update host's static platform and system information
system.UpdateStaticInfo()
// workaround to run without service
if logFile == "console" {
err = handleRebrand(cmd)