better permissions mac
This commit is contained in:
@@ -647,7 +647,10 @@ func runSession(ctx context.Context, cancel context.CancelFunc, conn *websocket.
|
||||
hello.GPU = hw.GPU
|
||||
hello.RAM = hw.RAM
|
||||
hello.BatteryPercent = hw.BatteryPercent
|
||||
hello.BatteryCharging = hw.BatteryCharging
|
||||
if hw.BatteryPercent != nil {
|
||||
charging := hw.BatteryCharging
|
||||
hello.BatteryCharging = &charging
|
||||
}
|
||||
hello.IsAdmin = sysinfo.IsAdmin()
|
||||
hello.Elevation = sysinfo.Elevation()
|
||||
hello.Permissions = sysinfo.DarwinPermissions()
|
||||
|
||||
Reference in New Issue
Block a user