feat: add helper process (#2753)

(cherry picked from commit 5ba2dff008)
This commit is contained in:
Peng Xiao
2023-06-13 10:01:43 +08:00
committed by Alex Yang
parent 036559e165
commit 9aa211dc77
74 changed files with 1002 additions and 1048 deletions
+1 -2
View File
@@ -85,7 +85,6 @@ async function cleanup() {
if (!process.env.SKIP_WEB_BUILD) {
await fs.emptyDir(publicAffineOutDir);
}
await fs.emptyDir(path.join(electronRootDir, 'layers', 'main', 'dist'));
await fs.emptyDir(path.join(electronRootDir, 'layers', 'preload', 'dist'));
await fs.remove(path.join(electronRootDir, 'dist'));
await fs.remove(path.join(electronRootDir, 'out'));
}