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

Commit becb9ac

Browse files
committed
Update README.md
1 parent f539493 commit becb9ac

1 file changed

Lines changed: 11 additions & 9 deletions

File tree

README.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,14 @@ The shell script reads JVM properties from `Info.plist` regardless of which form
4242
# - JVM default options
4343
# - main class
4444
# - JVM arguments
45-
exec "$JAVACMD" \
46-
-cp "${JVMClasspath}" \
47-
-Xdock:icon="$PROGDIR/../Resources/${CFBundleIconFile}" \
48-
-Xdock:name="${CFBundleName}" \
49-
"${JVMOptions}" \
50-
"${JVMDefaultOptions}" \
51-
"${JVMMainClass}" \
52-
"${JVMArguments}"
45+
exec "$JAVACMD" \
46+
-cp "${JVMClasspath}" \
47+
-Xdock:icon="$PROGDIR/../Resources/${CFBundleIconFile}" \
48+
-Xdock:name="${CFBundleName}" \
49+
${JVMOptions:+"$JVMOptions" }\
50+
${JVMDefaultOptions:+"$JVMDefaultOptions" }\
51+
"${JVMMainClass}"\
52+
${JVMArguments:+"$JVMArguments"}
5353
```
5454

5555
It sets the classpath, the dock icon, the *AboutMenuName* (in Xdock style) and then every *JVMOptions*, *JVMDefaultOptions* or *JVMArguments* found in the `Info.plist` file.
@@ -114,6 +114,8 @@ Missing Features
114114
----------------
115115

116116
At the moment, there's no support for
117+
* File drag & drop to the dock icon
118+
* *personal reminder: files aren't passed as argument but on the drop clipboard. therefore probably not fixable...*
117119
* required JVM architecture (like `x86_64`, etc.)
118120
* required JVM version (like `1.6+`, etc.)
119121
* etc...
@@ -123,4 +125,4 @@ An AppleScript dialog would be nice to prevent Java execution if the requirement
123125
License
124126
-------
125127

126-
*universalJavaApplicationStub* is released under the MIT License.
128+
*universalJavaApplicationStub* is released under the MIT License.

0 commit comments

Comments
 (0)