[fix] [ee-bin] rm replace

This commit is contained in:
gaoshuaixing
2025-02-26 14:12:25 +08:00
parent 93d2b774e6
commit a619f4912d
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "ee-bin",
"version": "4.1.2",
"version": "4.1.3",
"description": "ee bin",
"main": "index.js",
"scripts": {

View File

@@ -83,7 +83,7 @@ class IncrUpdater {
zipName = path.basename(cfg.output.zip, '.zip') + `-${platformForFilename}-${version}.zip`;
const asarZipPath = path.join(homeDir, cfg.output.directory, zipName);
if (fs.existsSync(asarZipPath)) {
rm(asarZipPath);
fsPro.removeSync(asarZipPath);
}
const zip = new admZip();
// 添加 asar 文件