@@ -28,7 +28,7 @@ For site-specific examples, see
2828
2929The following use cases have been verified:
3030
31- * MacOS version 10.15.7 , dmg and pkg.
31+ * MacOS versions 10,11,12,13 , dmg and pkg.
3232 * Windows 10, msi only.
3333
3434 #### Prerequisites
@@ -85,7 +85,7 @@ Consider either of the following workarounds:
8585* Copy the installer from a file share. This is apparently considered more safe than HTTP download, and works for
8686both Windows and MacOS.
8787* Add a digital signature using a trusted certificate. ` jpackage ` supports application signing, so it may be incorporated
88- into the ` jpackage ` build process. NOTE: this has not been verified .
88+ into the ` jpackage ` build process. See also below .
8989* Distribute installers - and updates! - using IT management tools. This is the current setup used for Windows
9090and MacOS at the European Spallation Source.
9191
@@ -96,6 +96,20 @@ target runtime selection may impact the end result, i.e. the Phoebus application
9696For instance, while the Java runtime Adopt JDK 11.0.9 can be bundled into a working installation,
9797Adopt JDK 11.0.12 will not work when Phoebus is launched. On MacOS Adopt JDK 11.0.12 works fine.
9898
99+ ### Application signing
100+ Starting from MacOS 13.2 (possibly from 13.0), installer packages must be signed for a hassle-free installation process.
101+ To include signing in the ` jpackage ` build, add the following in step 1:
102+ `--mac-sign
103+ --mac-package-identifier org.phoebus.product.Launcher
104+ --mac-package-name CSS-Phoebus
105+ --mac-signing-keychain "/Library/Keychains/System.keychain"
106+ --mac-signing-key-user-name 'Developer ID Application: European Spallation Source Eric (W2AG9MPZ43)'`.
99107
108+ Here the ` --mac-signing-key-user-name ` value identifies a certificate installed on the Mac OS host. Note that the
109+ certificate type ** must** be of type ` Developer ID Application ` . Users or organizations enrolled in the Apple
110+ Developer Program may request/create such certificates.
111+
112+
113+ `
100114
101115
0 commit comments