Improve proxy initialization with last used proxy restoration

This commit is contained in:
go0p
2025-03-07 14:49:19 +08:00
parent 6013a7ae4e
commit 2481b22d8e
3 changed files with 16 additions and 8 deletions
+1
View File
@@ -105,6 +105,7 @@ async function switchProxy(config) {
};
}
// 发送配置更改消息
await sendMessageWithRetry({
action: ProxyActionType.SET_PROXY_CONFIG,
config: proxyConfig