feat: Egern shadowsocks+shadow-tls 支持 udp port
Some checks failed
build / build (push) Has been cancelled

This commit is contained in:
xream
2025-07-26 15:57:47 +08:00
parent 3f9867512b
commit 10fe493162
2 changed files with 9 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "sub-store",
"version": "2.19.92",
"version": "2.19.93",
"description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and Shadowrocket.",
"main": "src/main.js",
"scripts": {

View File

@@ -371,6 +371,14 @@ export default function Egern_Producer() {
};
}
}
if (
['ss'].includes(original.type) &&
proxy.shadow_tls &&
original['udp-port'] > 0 &&
original['udp-port'] <= 65535
) {
proxy['udp_port'] = original['udp-port'];
}
delete proxy.subName;
delete proxy.collectionName;