同步模板维护脚本的资源路径

This commit is contained in:
cat-shark
2026-06-20 18:38:06 +08:00
parent b8a6f0c649
commit 4d7a19dc8a
16 changed files with 42 additions and 19 deletions
+1 -2
View File
@@ -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(', ')} 配置相同`);
}
});