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

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 -1
View File
@@ -3,7 +3,7 @@ const path = require('path');
// 读取 TypeScript 配置文件
const tsFilePath = path.join(__dirname, '../src/config/systemSubtitleTemplates.ts');
const jsonFilePath = path.join(__dirname, '../electron/resources/extra/common/config/system-templates.json');
const jsonFilePath = path.join(__dirname, '../packaging/resources/common/config/system-templates.json');
console.log('读取 TypeScript 配置文件:', tsFilePath);
const tsContent = fs.readFileSync(tsFilePath, 'utf-8');