Skip to content

Commit

Permalink
Update main.js
Browse files Browse the repository at this point in the history
  • Loading branch information
smallfawn authored Jun 29, 2024
1 parent 04069cc commit 3453f8f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ console.log(`输出: ${decodeFile}`)
// 读取源代码
const sourceCode = fs.readFileSync(encodeFile, { encoding: 'utf-8' })


let processedCode = sourceCode;
let pluginUsed = '';

Expand All @@ -41,6 +40,9 @@ const plugins = [
];

for (let plugin of plugins) {
if (sourceCode.indexOf("smEcV") != -1) {
break
}
try {
const code = plugin.plugin(sourceCode);
if (code && code !== processedCode) {
Expand Down

0 comments on commit 3453f8f

Please sign in to comment.