Include apple signing info in distribution instructions (#260)

This commit is contained in:
jimgoog
2021-01-11 00:01:41 -08:00
committed by GitHub
parent dcf4070b29
commit 6280c76ac0
2 changed files with 15 additions and 0 deletions

View File

@@ -71,6 +71,21 @@ The following formats available for the supported operating systems:
* Windows — `.exe` (`TargetFormat.Exe`), `.msi` (`TargetFormat.Msi`)
* 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
The plugin uses `jpackage`, which is available since [JDK 14](https://openjdk.java.net/projects/jdk/14/).

Binary file not shown.

After

Width:  |  Height:  |  Size: 164 KiB