🐛 修复(substore): 强制加载匹配版本的公共工具

This commit is contained in:
Orion
2026-06-03 16:19:28 +08:00
parent ecade4e50f
commit 55a342a167
8 changed files with 24 additions and 15 deletions
+4 -2
View File
@@ -2,9 +2,10 @@
* Sub-Store 节点命名公共工具
*
* 远程引用地址:
* https://git.orionc.me/orion/script/raw/branch/main/substore/common.js?v=20260603-6
* https://git.orionc.me/orion/script/raw/branch/main/substore/common.js?v=20260603-7
*/
(function (root) {
const VERSION = '20260603-7';
const regexSpecialChars = new Set(['.', '*', '+', '?', '^', '$', '{', '}', '(', ')', '|', '[', ']', '\\']);
const leadingFlagRegex = /^([\u{1F1E6}-\u{1F1FF}]{2}|🏴‍☠️)\s*/u;
const inlineFlagRegex = /^(.{1,24}?)([\u{1F1E6}-\u{1F1FF}]{2}|🏴‍☠️)\s*(.*)$/u;
@@ -325,6 +326,7 @@
stripLeadingMojibakeFlag,
splitLeadingFlag,
splitLeadingOrInlineFlag,
stripLineDescriptors
stripLineDescriptors,
version: VERSION
};
})(globalThis);