Skip to content

Commit

Permalink
feat(mac): Ignore Contents/PlugIns
Browse files Browse the repository at this point in the history
[PlugIns] contains loadable bundles that extend the basic features of your application. You use this directory to include code modules that must be loaded into your application’s process space in order to be used. You would not use this directory to store standalone executables.

Close #1699
  • Loading branch information
develar committed Jun 21, 2017
1 parent 8660093 commit a4b76b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ Platform specific `7zip-bin-*` packages are `optionalDependencies`, which may re

## Quick Setup Guide

Maybe some [boilerplate](#boilerplates) will suite you?

1. Specify the standard fields in the application `package.json`[name](https://github.com/electron-userland/electron-builder/wiki/Options#Metadata-name), `description`, `version` and [author](https://docs.npmjs.com/files/package.json#people-fields-author-contributors).

2. Specify the [build](https://github.com/electron-userland/electron-builder/wiki/Options#build) configuration in the `package.json` as follows:
Expand Down
2 changes: 2 additions & 0 deletions packages/electron-builder/src/macPackager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,8 @@ export default class MacPackager extends PlatformPackager<MacOptions> {

const signOptions: any = {
"identity-validation": false,
// https://github.com/electron-userland/electron-builder/issues/1699
ignore: (file: string) => file.startsWith("/Contents/PlugIns", appPath.length),
identity: identity!,
type: type,
platform: isMas ? "mas" : "darwin",
Expand Down

0 comments on commit a4b76b4

Please sign in to comment.