[client] Move macOS sleep detection into the daemon (purego) (#5926)

This commit is contained in:
Viktor Liu
2026-04-29 15:09:55 +09:00
committed by GitHub
parent e5474e199f
commit 407e9d304b
8 changed files with 1066 additions and 1092 deletions

View File

@@ -120,6 +120,7 @@ func New(ctx context.Context, logFile string, configFile string, profilesDisable
}
agent := &serverAgent{s}
s.sleepHandler = sleephandler.New(agent)
s.startSleepDetector()
return s
}