electron-osx-sign
Advanced tools
Comparing version 0.4.2 to 0.4.3
{ | ||
"name": "electron-osx-sign", | ||
"version": "0.4.2", | ||
"version": "0.4.3", | ||
"description": "Codesign Electron macOS apps", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -43,2 +43,4 @@ # electron-osx-sign [![npm][npm_img]][npm_url] [![Build Status][travis_img]][travis_url] | ||
Check out [`electron-osx-sign` guide](https://mintkit.net/electron-userland/electron-osx-sign/guide/) for suggestions on setting up your environment and workflow for distribution or development. | ||
#### From the Command Line | ||
@@ -50,32 +52,29 @@ | ||
Example: | ||
##### Examples | ||
```sh | ||
# To sign distribution version | ||
electron-osx-sign path/to/my.app | ||
``` | ||
- To sign a distribution version by default: | ||
```sh | ||
electron-osx-sign path/to/my.app | ||
``` | ||
```sh | ||
# To sign development version | ||
electron-osx-sign path/to/my.app --type=development | ||
``` | ||
- To sign development version: | ||
```sh | ||
electron-osx-sign path/to/my.app --type=development | ||
``` | ||
```sh | ||
# It is recommended to place the provisioning profile(s) under the current working directory for electron-osx-sign to pick up automatically; and to specify provisioning profile to be embedded explicitly | ||
electron-osx-sign path/to/my.app --provisioning-profile=path/to/my.provisioningprofile | ||
``` | ||
- It is recommended to place the provisioning profile(s) under the working directory for `electron-osx-sign` to pick up automatically; however, to specify provisioning profile to be embedded explicitly: | ||
```sh | ||
electron-osx-sign path/to/my.app --provisioning-profile=path/to/my.provisioningprofile | ||
``` | ||
```sh | ||
# To specify the entitlements file (.plist) | ||
electron-osx-sign path/to/my.app --entitlements=path/to/my.entitlements | ||
# Or (.entitlements) | ||
electron-osx-sign path/to/my.app --entitlements=path/to/my-entitlements.plist | ||
``` | ||
- To specify the entitlements file: | ||
```sh | ||
electron-osx-sign path/to/my.app --entitlements=path/to/my.entitlements | ||
``` | ||
It is recommended to make use of `opts.version` while signing legacy versions, for example: | ||
- It is recommended to make use of `--version` while signing legacy versions of Electron: | ||
```sh | ||
electron-osx-sign path/to/my.app --version=0.34.0 | ||
``` | ||
```sh | ||
electron-osx-sign path/to/my.app --version=0.34.0 | ||
``` | ||
Run `electron-osx-sign --help` or see [electron-osx-sign-usage.txt](https://github.com/electron-userland/electron-osx-sign/blob/master/bin/electron-osx-sign-usage.txt) for CLI-specific options. | ||
@@ -353,6 +352,6 @@ | ||
> electron-osx-sign@0.4.2 pretest electron-osx-sign | ||
> electron-osx-sign@0.4.3 pretest electron-osx-sign | ||
> rimraf test/work | ||
> electron-osx-sign@0.4.2 test electron-osx-sign | ||
> electron-osx-sign@0.4.3 test electron-osx-sign | ||
> standard && tape test | ||
@@ -427,6 +426,6 @@ | ||
ok 42 app flattened | ||
# defaults-test:v1.4.4-darwin-x64 | ||
# defaults-test:v1.4.14-darwin-x64 | ||
ok 43 app signed | ||
ok 44 app flattened | ||
# defaults-test:v1.4.4-mas-x64 | ||
# defaults-test:v1.4.14-mas-x64 | ||
ok 45 app signed | ||
@@ -433,0 +432,0 @@ ok 46 app flattened |
@@ -89,6 +89,6 @@ /** | ||
'--deep', | ||
compareVersion(osRelease, '15.0.0') >= 0 ? '--strict' : '', // Only pass strict flag in El Capitan and later | ||
'--verbose=2', | ||
opts.app | ||
]) | ||
'--verbose=2' | ||
] | ||
.concat(compareVersion(osRelease, '15.0.0') >= 0 ? ['--strict'] : [], // Only pass strict flag in El Capitan and later | ||
[opts.app])) | ||
@@ -95,0 +95,0 @@ // Additionally test Gatekeeper acceptance for darwin platform |
@@ -18,4 +18,4 @@ { | ||
"1.3.7", | ||
"1.4.4" | ||
"1.4.14" | ||
] | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
72220
452