feat: add profile name param for script

This commit is contained in:
MystiPanda
2024-07-04 23:11:54 +08:00
parent 9edafa75e7
commit c9f784e4fa
5 changed files with 21 additions and 9 deletions

View File

@@ -1,4 +1,4 @@
function main(config) {
function main(config, _name) {
if (Array.isArray(config.proxies)) {
config.proxies.forEach((p, i) => {
if (p.type === "hysteria" && typeof p.alpn === "string") {