Skip to content

Commit c96a512

Browse files
committed
support for signed macOS application - Contents/MacOS/visualvm cannot be link to Contents/Resources/visualvm/bin/visualvm
1 parent 8ea3133 commit c96a512

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

visualvm/launcher/visualvm

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ while [ -h "$PRG" ]; do
3838
fi
3939
done
4040

41+
if [ -f `dirname "$PRG"`/../Resources/visualvm/etc/visualvm.conf ] ; then
42+
PRG=`dirname "$PRG"`/../Resources/visualvm/bin/visualvm
43+
fi
44+
4145
progdir=`dirname "$PRG"`
4246
old=`pwd`
4347
cd "$progdir"/..

0 commit comments

Comments
 (0)