mirror of
https://git.mirrors.martin98.com/https://github.com/sub-store-org/Sub-Store.git
synced 2025-08-12 02:29:00 +08:00
feat: 支持禁用节点操作
This commit is contained in:
parent
8d0a71d983
commit
5b28e1a4c9
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "sub-store",
|
"name": "sub-store",
|
||||||
"version": "2.14.431",
|
"version": "2.14.432",
|
||||||
"description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and ShadowRocket.",
|
"description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and ShadowRocket.",
|
||||||
"main": "src/main.js",
|
"main": "src/main.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
@ -86,6 +86,16 @@ async function processFn(
|
|||||||
$options,
|
$options,
|
||||||
) {
|
) {
|
||||||
for (const item of operators) {
|
for (const item of operators) {
|
||||||
|
if (item.disabled) {
|
||||||
|
$.log(
|
||||||
|
`Skipping disabled operator: "${
|
||||||
|
item.type
|
||||||
|
}" with arguments:\n >>> ${
|
||||||
|
JSON.stringify(item.args, null, 2) || 'None'
|
||||||
|
}`,
|
||||||
|
);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
// process script
|
// process script
|
||||||
let script;
|
let script;
|
||||||
let $arguments = {};
|
let $arguments = {};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user