fix: typo

This commit is contained in:
Hiddify 2023-08-23 19:00:37 +00:00
parent a4bd995e95
commit 40b8eb3b17

View File

@ -82,7 +82,7 @@ func SetSystemProxy(router adapter.Router, port uint16, isMixed bool) (func() er
return nil, err return nil, err
} }
return func() error { return func() error {
return err := runAsUser("kwriteconfig5", "--file","kioslaverc", "--group", "'Proxy Settings'", "--key", "ProxyType", "0") return runAsUser("kwriteconfig5", "--file","kioslaverc", "--group", "'Proxy Settings'", "--key", "ProxyType", "0")
}, nil }, nil
} }
return nil, E.New("unsupported desktop environment") return nil, E.New("unsupported desktop environment")