File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -237,6 +237,8 @@ if [ $exitcode -eq 0 ]; then
237237 JVMVersion=$( plist_get_java ' :JVMVersion' | xargs)
238238 # post processing of the version string follows below...
239239
240+ # read options file name
241+ JVMOptionsFile=$( plist_get_java ' :JVMOptionsFile' )
240242
241243# read 'Info.plist' file in Oracle style
242244else
@@ -291,8 +293,14 @@ else
291293 # read the Java version we want to find
292294 JVMVersion=$( plist_get ' :JVMVersion' | xargs)
293295 # post processing of the version string follows below...
296+
297+ # read options file name
298+ JVMOptionsFile=$( plist_get ' :JVMOptionsFile' )
299+
294300fi
295301
302+ # read JVM options from file
303+ [ -f $JVMOptionsFile ] && while read -r option; do JVMDefaultOptions+=" $option " ; done <<< $( sed " /^#.*$/d" $JVMOptionsFile )
296304
297305# (#75) check for undefined icons or icon names without .icns extension and prepare
298306# an osascript statement for those cases when the icon can be shown in the dialog
You can’t perform that action at this time.
0 commit comments