Skip to content

Commit 3c7ef2d

Browse files
committed
fix: app-update.yml not generated (MAC zip + pkg)
Close #2541
1 parent e7b9a9e commit 3c7ef2d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/electron-builder-lib/src/publish/PublishManager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export class PublishManager implements PublishContext {
7171
packager.addAfterPackHandler(async event => {
7272
const packager = event.packager
7373
if (event.electronPlatformName === "darwin") {
74-
if (!event.targets.some(it => it.name === "dmg")) {
74+
if (!event.targets.some(it => it.name === "dmg" || it.name === "zip")) {
7575
return
7676
}
7777
}

packages/electron-builder-lib/src/util/packageDependencies.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export interface Dependency {
3030
const knownAlwaysIgnoredDevDeps = new Set([
3131
"electron-builder-tslint-config", "electron-download",
3232
"electron-forge", "electron-packager", "electron-compilers",
33-
"jest", "jest-cli", "prebuild-install", "nan",
33+
"prebuild-install", "nan",
3434
"electron-webpack", "electron-webpack-ts", "electron-webpack-vue",
3535
"@types",
3636
])

0 commit comments

Comments
 (0)