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 himself65
parent 0490baa669
commit 83fd6fa318
74 changed files with 1002 additions and 1048 deletions

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'));
}