Handle network update callbacks in background

This commit is contained in:
世界
2026-08-30 17:41:46 +08:00
parent cfddedb3da
commit 6720a27109
46 changed files with 382 additions and 134 deletions
+2 -1
View File
@@ -3,6 +3,7 @@
package main
import (
"context"
"net/netip"
"os"
"os/exec"
@@ -120,7 +121,7 @@ func (p *linuxPlatformInterface) RequestPermissionForWIFIState() error {
return nil
}
func (p *linuxPlatformInterface) ReadWIFIState() adapter.WIFIState {
func (p *linuxPlatformInterface) ReadWIFIState(ctx context.Context) adapter.WIFIState {
return adapter.WIFIState{}
}