mirror of
https://github.com/smallfawn/decode_action.git
synced 2025-12-20 00:35:19 +08:00
Update main.js
This commit is contained in:
@@ -24,7 +24,6 @@ console.log(`输出: ${decodeFile}`)
|
|||||||
// 读取源代码
|
// 读取源代码
|
||||||
const sourceCode = fs.readFileSync(encodeFile, { encoding: 'utf-8' })
|
const sourceCode = fs.readFileSync(encodeFile, { encoding: 'utf-8' })
|
||||||
|
|
||||||
|
|
||||||
let processedCode = sourceCode;
|
let processedCode = sourceCode;
|
||||||
let pluginUsed = '';
|
let pluginUsed = '';
|
||||||
|
|
||||||
@@ -41,6 +40,9 @@ const plugins = [
|
|||||||
];
|
];
|
||||||
|
|
||||||
for (let plugin of plugins) {
|
for (let plugin of plugins) {
|
||||||
|
if (sourceCode.indexOf("smEcV") != -1) {
|
||||||
|
break
|
||||||
|
}
|
||||||
try {
|
try {
|
||||||
const code = plugin.plugin(sourceCode);
|
const code = plugin.plugin(sourceCode);
|
||||||
if (code && code !== processedCode) {
|
if (code && code !== processedCode) {
|
||||||
|
|||||||
Reference in New Issue
Block a user