Browse Source

Include apple signing info in distribution instructions (#260)

pull/264/head
jimgoog 4 years ago committed by GitHub
parent
commit
6280c76ac0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 15
      tutorials/Native_distributions_and_local_execution/README.md
  2. BIN
      tutorials/Native_distributions_and_local_execution/attrs-error.png

15
tutorials/Native_distributions_and_local_execution/README.md

@ -71,6 +71,21 @@ The following formats available for the supported operating systems:
* Windows — `.exe` (`TargetFormat.Exe`), `.msi` (`TargetFormat.Msi`) * Windows — `.exe` (`TargetFormat.Exe`), `.msi` (`TargetFormat.Msi`)
* Linux — `.deb` (`TargetFormat.Deb`), `.rpm` (`TargetFormat.Rpm`) * Linux — `.deb` (`TargetFormat.Deb`), `.rpm` (`TargetFormat.Rpm`)
## Distributing Artifacts
By default, Apple does not allow users to execute unsigned applications downloaded from the internet. Users attempting
to run such applications will be faced with an error like this:
![](attrs-error.png)
To temporarily work around this issue, users can try a couple of things (after downloading to target machine, try commands in this order, do not attempt out of order):
* `xattr -cr MyFancyProgram.app`
* `sudo spctl --master-disable`
* Try right-clicking on the app, and select "Open", then when the dialog pops up, select "Open" again.
A more correct fix is to manually sign the application: [Apple's Code Signing Guide](https://developer.apple.com/library/archive/documentation/Security/Conceptual/CodeSigningGuide/Procedures/Procedures.html)
## Customizing JDK version ## Customizing JDK version
The plugin uses `jpackage`, which is available since [JDK 14](https://openjdk.java.net/projects/jdk/14/). The plugin uses `jpackage`, which is available since [JDK 14](https://openjdk.java.net/projects/jdk/14/).

BIN
tutorials/Native_distributions_and_local_execution/attrs-error.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 164 KiB

Loading…
Cancel
Save