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:
@@ -51,10 +51,10 @@ for (let plugin of plugins) {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
let time = new Date().getTime();
|
||||
let time = new Date();
|
||||
if (processedCode !== sourceCode) {
|
||||
// 输出代码
|
||||
fs.writeFile(decodeFile, "//" + time + '\n' + processedCode, (err) => {
|
||||
fs.writeFile(decodeFile, "//" + time + '\n' + "Base:https://github.com/echo094/decode-js" + '\n' + "Modify:https://github.com/smallfawn/decode_action" + '\n' + processedCode, (err) => {
|
||||
if (err) throw err;
|
||||
console.log(`使用插件 ${pluginUsed} 成功处理并写入文件 ${decodeFile}`);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user