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

Commit 0ce7b0f

Browse files
committed
add recommended additional Plist key for #77 to README
1 parent d67d510 commit 0ce7b0f

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,8 @@ Use whichever ANT task you like:
104104
* Oracle's opensource ["Appbundler"](https://java.net/projects/appbundler) *(seems to be dead)*
105105
* or [*infinitekind*'s fork](https://bitbucket.org/infinitekind/appbundler/overview)
106106

107+
Or build the App bundle statically from scratch...
108+
107109
### JarBundler (≥ v3.3) example
108110
Download the latest JarBundler release [from its github repo](https://github.com/UltraMixer/JarBundler).
109111

@@ -164,6 +166,23 @@ Supported PList keys
164166
| **Main Class Arguments** | `:Java(X):Arguments` | `:JVMArguments` |
165167

166168

169+
Recommended additional Plist keys
170+
---------------------------------
171+
172+
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.
173+
174+
This happens because the warning dialogs of this launcher stub are displayed with AppleScript.
175+
176+
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:
177+
178+
```xml
179+
<key>NSAppleEventsUsageDescription</key>
180+
<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>
181+
```
182+
183+
The message itself is just a sample...
184+
185+
167186
Logging
168187
-------
169188

0 commit comments

Comments
 (0)