Skip to content

Commit

Permalink
fix: signing of playwright (#5451)
Browse files Browse the repository at this point in the history
  • Loading branch information
sentoxaio committed Dec 14, 2020
1 parent a8acb58 commit 5075068
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/app-builder-lib/src/macPackager.ts
Expand Up @@ -197,7 +197,12 @@ export default class MacPackager extends PlatformPackager<MacConfiguration> {
}
}
return file.endsWith(".kext") || file.startsWith("/Contents/PlugIns", appPath.length) ||
file.includes("/node_modules/puppeteer/.local-chromium") /* https://github.com/electron-userland/electron-builder/issues/2010 */
file.includes("/node_modules/puppeteer/.local-chromium") || file.includes("/node_modules/playwright-firefox/.local-browsers") || file.includes("/node_modules/playwright/.local-browsers")

/* Those are browser automating modules, browser (chromium, nightly) cannot be signed
https://github.com/electron-userland/electron-builder/issues/2010
https://github.com/electron-userland/electron-builder/issues/5383
*/
},
identity: identity!,
type,
Expand Down

0 comments on commit 5075068

Please sign in to comment.