mirror of
https://github.com/smallfawn/decode_action.git
synced 2025-12-21 01:05:05 +08:00
Update main.js
This commit is contained in:
@@ -51,10 +51,10 @@ for (let plugin of plugins) {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
let time = new Date().getTime();
|
||||||
if (processedCode !== sourceCode) {
|
if (processedCode !== sourceCode) {
|
||||||
// 输出代码
|
// 输出代码
|
||||||
fs.writeFile(decodeFile, processedCode, (err) => {
|
fs.writeFile(decodeFile, "//" + time + '\n' + processedCode, (err) => {
|
||||||
if (err) throw err;
|
if (err) throw err;
|
||||||
console.log(`使用插件 ${pluginUsed} 成功处理并写入文件 ${decodeFile}`);
|
console.log(`使用插件 ${pluginUsed} 成功处理并写入文件 ${decodeFile}`);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user