From 0ce7b0f920279d66379ed3ac5e823c15ea210aac Mon Sep 17 00:00:00 2001 From: Tobias Fischer Date: Mon, 9 Dec 2019 23:28:07 +0100 Subject: [PATCH] add recommended additional Plist key for #77 to README --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index 3235c5f..c4eca7d 100644 --- a/README.md +++ b/README.md @@ -104,6 +104,8 @@ Use whichever ANT task you like: * Oracle's opensource ["Appbundler"](https://java.net/projects/appbundler) *(seems to be dead)* * or [*infinitekind*'s fork](https://bitbucket.org/infinitekind/appbundler/overview) +Or build the App bundle statically from scratch... + ### JarBundler (≥ v3.3) example Download the latest JarBundler release [from its github repo](https://github.com/UltraMixer/JarBundler). @@ -164,6 +166,23 @@ Supported PList keys | **Main Class Arguments** | `:Java(X):Arguments` | `:JVMArguments` | +Recommended additional Plist keys +--------------------------------- + +Starting with Mac OS 10.14 users may be confronted with an additional system security dialog before any warning dialog of this stub is shown. See [issue #77](https://github.com/tofi86/universalJavaApplicationStub/issues/77) for more details. + +This happens because the warning dialogs of this launcher stub are displayed with AppleScript. + +It's recommended to at least set the following Plist key in order to display a descriptive message to the user, why he should grant the app system access: + +```xml +NSAppleEventsUsageDescription +There was an error while launching the application. Please click OK to display a dialog with more information or cancel and view the syslog for details. +``` + +The message itself is just a sample... + + Logging -------