mirror of
https://gitee.com/eolink_admin/postcat.git
synced 2024-12-02 11:47:57 +08:00
a51feb0311
* feat: update extension UI * fix(components): [manage-access] a tag rename to span * feat: update e2e Co-authored-by: buqiyuan <1743369777@qq.com> Co-authored-by: 夜鹰 <17kungfuboy@gmail.com>
20 lines
529 B
JavaScript
20 lines
529 B
JavaScript
const fs = require('fs');
|
|
const path = require('path');
|
|
|
|
// 输入文件
|
|
const inputPath = path.join(__dirname, '../patches/windowsCodeSign.js');
|
|
// 输出文件
|
|
const outputPath = path.join(__dirname, '../node_modules/app-builder-lib/out/codeSign/windowsCodeSign.js');
|
|
|
|
fs.readFile(inputPath, 'utf8', (err, data) => {
|
|
if (err) {
|
|
return console.error(err);
|
|
}
|
|
|
|
fs.writeFile(outputPath, data, { flag: 'w', encoding: 'utf8' }, err => {
|
|
if (err) {
|
|
console.error('app-builder-lib writeFile', err);
|
|
}
|
|
});
|
|
});
|