Improve proxy initialization with last used proxy restoration

This commit is contained in:
go0p
2026-08-06 15:11:35 +08:00
committed by go0p
parent 1a901424ae
commit 362349e75a
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