Skip to content
This repository has been archived by the owner on Feb 4, 2023. It is now read-only.

Commit

Permalink
add recommended additional Plist key for #77 to README
Browse files Browse the repository at this point in the history
  • Loading branch information
tofi86 committed Dec 9, 2019
1 parent d67d510 commit 0ce7b0f
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).

Expand Down Expand Up @@ -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
<key>NSAppleEventsUsageDescription</key>
<string>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.</string>
```

The message itself is just a sample...


Logging
-------

Expand Down

0 comments on commit 0ce7b0f

Please sign in to comment.