Add Linux WI-FI state support

This commit is contained in:
世界
2025-10-07 20:19:17 +08:00
parent f1e48a1cad
commit 766972ce52
17 changed files with 862 additions and 39 deletions
+1 -1
View File
@@ -151,7 +151,7 @@ func (s *CommandServer) NeedWIFIState() bool {
if instance == nil || instance.Box() == nil {
return false
}
return instance.Box().Router().NeedWIFIState()
return instance.Box().Network().NeedWIFIState()
}
func (s *CommandServer) Pause() {