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
+4
View File
@@ -118,6 +118,10 @@ func (p *LinuxSystemProxy) Enable() error {
return nil
}
func (p *LinuxSystemProxy) Close() error {
return nil
}
func (p *LinuxSystemProxy) Disable() error {
if p.hasGSettings {
err := p.execute("gsettings", "set", "org.gnome.system.proxy", "mode", "none")