We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16a62fb commit 172e7afCopy full SHA for 172e7af
src/main/resources/mac/startup.vtl
@@ -6,10 +6,11 @@ JAVA=$SCRIPTPATH/../PlugIns/${info.jreDirectoryName}/Contents/Home/bin/java
6
#else
7
JAVA=`/usr/libexec/java_home`/bin/java
8
#end
9
-BINARY=$SCRIPTPATH/../Resources/Java/${info.jarFile}
+BINARY=Java/${info.jarFile}
10
#if($info.envPath)
11
export PATH=${info.envPath}
12
13
+cd $SCRIPTPATH/../Resources
14
#if($info.administratorRequired)
15
/usr/bin/osascript -e "do shell script \"$JAVA ${info.vmArgs} -Dapple.laf.useScreenMenuBar=true -Xdock:name='${info.displayName}' -Xdock:icon=$SCRIPTPATH/../Resources/${info.name}.icns -jar $BINARY $@\" with administrator privileges"
16
0 commit comments