mirror of
https://github.com/KOP-XIAO/QuantumultX.git
synced 2026-01-25 21:25:09 +00:00
bug fixed
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
☑️ 资源解析器 ©𝐒𝐡𝐚𝐰𝐧 ⟦2021-01-04 20:59⟧
|
☑️ 资源解析器 ©𝐒𝐡𝐚𝐰𝐧 ⟦2021-01-04 22:59⟧
|
||||||
----------------------------------------------------------
|
----------------------------------------------------------
|
||||||
🛠 发现 𝐁𝐔𝐆 请反馈: @Shawn_KOP_bot
|
🛠 发现 𝐁𝐔𝐆 请反馈: @Shawn_KOP_bot
|
||||||
⛳️ 关注 🆃🅶 相关频道: https://t.me/QuanX_API
|
⛳️ 关注 🆃🅶 相关频道: https://t.me/QuanX_API
|
||||||
@@ -247,10 +247,6 @@ function ResourceParse() {
|
|||||||
total = total.map(Rename);
|
total = total.map(Rename);
|
||||||
}
|
}
|
||||||
if (Pemoji) { total = emoji_handle(total, Pemoji); }
|
if (Pemoji) { total = emoji_handle(total, Pemoji); }
|
||||||
if (Prname) {
|
|
||||||
Prn = Prname;
|
|
||||||
total = total.map(Rename);
|
|
||||||
}
|
|
||||||
if (Pregdel) {
|
if (Pregdel) {
|
||||||
delreg = Pregdel
|
delreg = Pregdel
|
||||||
total = total.map(DelReg)
|
total = total.map(DelReg)
|
||||||
@@ -258,6 +254,10 @@ function ResourceParse() {
|
|||||||
if (Preplace) { // server 类型也可用 replace 参数进行重命名操作
|
if (Preplace) { // server 类型也可用 replace 参数进行重命名操作
|
||||||
total = ReplaceReg(total, Preplace)
|
total = ReplaceReg(total, Preplace)
|
||||||
}
|
}
|
||||||
|
if (Prname) {
|
||||||
|
Prn = Prname;
|
||||||
|
total = total.map(Rename);
|
||||||
|
}
|
||||||
if (Psrename) { total = RenameScript(total, Psrename) }
|
if (Psrename) { total = RenameScript(total, Psrename) }
|
||||||
if (Psort0) {
|
if (Psort0) {
|
||||||
total = QXSort(total, Psort0);
|
total = QXSort(total, Psort0);
|
||||||
@@ -1411,7 +1411,10 @@ function Rename(str) {
|
|||||||
}
|
}
|
||||||
nserver = hd + "tag=" + name + tail
|
nserver = hd + "tag=" + name + tail
|
||||||
}
|
}
|
||||||
} return nserver
|
return nserver
|
||||||
|
} else {
|
||||||
|
return server
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function RenameScript(servers, script) {
|
function RenameScript(servers, script) {
|
||||||
|
|||||||
Reference in New Issue
Block a user