@kengic/uni 0.7.7 → 0.7.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/script/cmd.mjs +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kengic/uni",
3
- "version": "0.7.7",
3
+ "version": "0.7.8",
4
4
  "scripts": {
5
5
  "postinstall": "node ./script/postinstall.mjs"
6
6
  },
package/script/cmd.mjs CHANGED
@@ -30,7 +30,7 @@ async function cmd() {
30
30
 
31
31
  const targetDir = process.cwd() + '/android/app/src/main/assets/apps/__UNI__8B6E231/www';
32
32
  log(`开始删除旧的目录 | ${targetDir}`);
33
- fs.rmSync(targetDir);
33
+ fs.rmSync(targetDir, { force: true, recursive: true });
34
34
  log(`完成删除旧的目录 | ${targetDir}`);
35
35
 
36
36
  // TODO LT