From ecade4e50fa400b9743710d62728a043b248b975 Mon Sep 17 00:00:00 2001 From: Orion Date: Wed, 3 Jun 2026 16:14:57 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A2=20=E4=BF=AE=E5=A4=8D(substore):=20?= =?UTF-8?q?=E8=B0=83=E6=95=B4=20Alpha=20Air=20=E7=89=B9=E5=BE=81=E8=8A=82?= =?UTF-8?q?=E7=82=B9=E7=BC=96=E5=8F=B7=E4=BD=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- substore/alphaair-rename.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/substore/alphaair-rename.js b/substore/alphaair-rename.js index dc31823..b7de897 100644 --- a/substore/alphaair-rename.js +++ b/substore/alphaair-rename.js @@ -120,7 +120,10 @@ async function operator(proxies) { originalIndex, countryCode: regionCode, cityCode, + normalizedFlag, + regionPrefix, provider, + multiplier, providerRank: provider ? 1 : 0, multiplierValue: multiplier ? Number(multiplier.replace(/X$/i, '')) : Number.NEGATIVE_INFINITY, normalizedName: [normalizedFlag, regionPrefix, provider, multiplier].filter(Boolean).join(' ').trim() @@ -166,7 +169,13 @@ async function operator(proxies) { if (!item.normalizedName || !item.countryCode) return item.proxy; currentCount[item.countryCode] = (currentCount[item.countryCode] || 0) + 1; - item.proxy.name = `${item.normalizedName} ${String(currentCount[item.countryCode]).padStart(2, '0')}`; + item.proxy.name = [ + item.normalizedFlag, + item.regionPrefix, + String(currentCount[item.countryCode]).padStart(2, '0'), + item.provider, + item.multiplier + ].filter(Boolean).join(' ').trim(); return item.proxy; }); }