🎨

sethlu 2016-03-02 15:32:46 +08:00
Π ΠΎΠ΄ΠΈΡ‚Π΅Π»ΡŒ 866e1fefb7
ΠšΠΎΠΌΠΌΠΈΡ‚ 29cdb7aa69
2 ΠΈΠ·ΠΌΠ΅Π½Ρ‘Π½Π½Ρ‹Ρ… Ρ„Π°ΠΉΠ»ΠΎΠ²: 3 Π΄ΠΎΠ±Π°Π²Π»Π΅Π½ΠΈΠΉ ΠΈ 3 ΡƒΠ΄Π°Π»Π΅Π½ΠΈΠΉ

@ -97,12 +97,12 @@ Also, they could read/write files in directories created for temporary use.
If you have any custom entitlements, please specify `entitlements` and/or `entitlements-inherit` when code-signing with `electron-osx-sign`. On the other hand, if you are using `electron-packager` and would like to sign with entitlements directly from it, the `sign-entitlements` option is also available for use.
```sh
# EITHER pack your app and sign it all at once
electron-packager . "My App" --platform=mas --arch=x64 --version=0.35.6 --app-bundle-id="com.mysite.myapp" --app-version="1.0.0" --build-version="1.0.100" --sign --sign-entitlements="path/to/parent.entitlements"
# EITHER pack your app and sign it both at once
# OR pack your app first then manually sign it
electron-packager . "My App" --platform=mas --arch=x64 --version=0.35.6 --app-bundle-id="com.mysite.myapp" --app-version="1.0.0" --build-version="1.0.100"
# code-sign app bundle with custom entitlements
# Code-sign app bundle with custom entitlements
electron-osx-sign "My App-mas-x64/My App.app" --entitlements="path/to/parent.entitlements" --entitlements-inherit="path/to/child.entitlements"
```

@ -1,4 +1,4 @@
Welcome to the electron-osx-sign wiki!
Welcome to the `electron-osx-sign` wiki!
#### Drafting Articles (ordered)