mirror of
https://github.com/wallace5303/ee-core.git
synced 2026-04-05 15:39:03 +08:00
[fix] [ee-bin] rm replace
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ee-bin",
|
||||
"version": "4.1.2",
|
||||
"version": "4.1.3",
|
||||
"description": "ee bin",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
||||
@@ -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 文件
|
||||
|
||||
Reference in New Issue
Block a user