Skip to content

Commit

Permalink
fix(mas): set hardenedRuntime to false by default for mas and mas-dev (
Browse files Browse the repository at this point in the history
…#4548)

* fix(mas): set hardenedRuntime to false by default for mas and mas-dev

* fix
  • Loading branch information
quanglam2807 authored and develar committed Jan 16, 2020
1 parent 891a633 commit f1e3242
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/app-builder-lib/src/macPackager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ export default class MacPackager extends PlatformPackager<MacConfiguration> {
// https://github.com/electron-userland/electron-osx-sign/issues/196
// will fail on 10.14.5+ because a signed but unnotarized app is also rejected.
"gatekeeper-assess": options.gatekeeperAssess === true,
hardenedRuntime: options.hardenedRuntime !== false,
hardenedRuntime: isMas ? masOptions && masOptions.hardenedRuntime === true : options.hardenedRuntime !== false,
}

await this.adjustSignOptions(signOptions, masOptions)
Expand Down

0 comments on commit f1e3242

Please sign in to comment.