同步模板维护脚本的资源路径
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
const fs = require('fs');
|
||||
|
||||
const cDriveFile = 'C:\\system-templates.json';
|
||||
const projectFile = 'electron/resources/extra/common/config/system-templates.json';
|
||||
const projectFile = 'packaging/resources/common/config/system-templates.json';
|
||||
|
||||
const cConfig = JSON.parse(fs.readFileSync(cDriveFile, 'utf-8'));
|
||||
const pConfig = JSON.parse(fs.readFileSync(projectFile, 'utf-8'));
|
||||
@@ -71,4 +71,3 @@ Object.keys(pGroups).forEach(key => {
|
||||
console.log(`模板 ${pGroups[key].join(', ')} 配置相同`);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user