diff --git a/backend/package.json b/backend/package.json index 4fe893ac6..4074dea29 100644 --- a/backend/package.json +++ b/backend/package.json @@ -1,6 +1,6 @@ { "name": "sub-store", - "version": "2.14.431", + "version": "2.14.432", "description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and ShadowRocket.", "main": "src/main.js", "scripts": { diff --git a/backend/src/core/proxy-utils/index.js b/backend/src/core/proxy-utils/index.js index 1b081439e..922562a0f 100644 --- a/backend/src/core/proxy-utils/index.js +++ b/backend/src/core/proxy-utils/index.js @@ -86,6 +86,16 @@ async function processFn( $options, ) { 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 let script; let $arguments = {};