feat: system tray supports system proxy setting

This commit is contained in:
GyDi
2022-03-20 01:36:43 +08:00
parent 4ce15577cd
commit acc6e05bdc
4 changed files with 56 additions and 7 deletions

View File

@@ -41,6 +41,9 @@ const Layout = () => {
mutate("getProxies");
mutate("getClashConfig");
});
// update the verge config
listen("verge://refresh-verge-config", () => mutate("getVergeConfig"));
}, []);
useEffect(() => {