Skip to content

Commit

Permalink
fix: app-update.yml not generated (MAC zip + pkg)
Browse files Browse the repository at this point in the history
Close #2541
  • Loading branch information
develar committed Jan 31, 2018
1 parent e7b9a9e commit 3c7ef2d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export class PublishManager implements PublishContext {
packager.addAfterPackHandler(async event => {
const packager = event.packager
if (event.electronPlatformName === "darwin") {
if (!event.targets.some(it => it.name === "dmg")) {
if (!event.targets.some(it => it.name === "dmg" || it.name === "zip")) {
return
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export interface Dependency {
const knownAlwaysIgnoredDevDeps = new Set([
"electron-builder-tslint-config", "electron-download",
"electron-forge", "electron-packager", "electron-compilers",
"jest", "jest-cli", "prebuild-install", "nan",
"prebuild-install", "nan",
"electron-webpack", "electron-webpack-ts", "electron-webpack-vue",
"@types",
])
Expand Down

0 comments on commit 3c7ef2d

Please sign in to comment.