Skip to content

Commit cbee3f0

Browse files
committed
Apple VMOptions key: expand variables $APP_PACKAGE, $JAVAROOT, $USER_HOME // fixes tofi86#84
1 parent 15833ec commit cbee3f0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/universalJavaApplicationStub

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,8 @@ if [ $exitcode -eq 0 ]; then
213213
else
214214
JVMDefaultOptions=${JVMDefaultOptions_RAW}
215215
fi
216+
# expand variables $APP_PACKAGE, $JAVAROOT, $USER_HOME (#84)
217+
JVMDefaultOptions=$(eval echo "${JVMDefaultOptions}")
216218

217219
# read StartOnMainThread and add as -XstartOnFirstThread
218220
JVMStartOnMainThread=$(plist_get_java ':StartOnMainThread')

0 commit comments

Comments
 (0)