调整打包脚本使用 packaging 资源路径

This commit is contained in:
cat-shark
2026-06-20 18:37:23 +08:00
parent e3d4fd1aa1
commit c703229518
12 changed files with 168 additions and 120 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ async function copyPlaywrightBrowser() {
console.log('='.repeat(60));
// 目标目录:项目打包资源
const targetDir = path.join(__dirname, '../electron/resources/extra/common/playwright');
const targetDir = path.join(__dirname, '../packaging/vendor/playwright');
await fs.ensureDir(targetDir);
// 源目录:Playwright 的缓存位置(开发环境)