This commit is contained in:
coco
2026-07-03 15:56:07 +08:00
commit caef23209c
5767 changed files with 1004268 additions and 0 deletions
+43
View File
@@ -0,0 +1,43 @@
#!/bin/sh
# resolve links - $0 may be a softlink
PRG="$0"
while [ -h "$PRG" ]; do
ls=`ls -ld "$PRG"`
link=`expr "$ls" : '.*-> \(.*\)$'`
if expr "$link" : '/.*' > /dev/null; then
PRG="$link"
else
PRG=`dirname "$PRG"`/"$link"
fi
done
PRGDIR=`dirname "$PRG"`
BASEDIR=`cd "$PRGDIR" >/dev/null; pwd`
JAVACMD="$BASEDIR/runtime/bin/java"
exec $JAVACMD \
-splash:"$BASEDIR/resources/images/splashscreen.png" \
-cp "$BASEDIR/libs/*" \
-Xmx4096M \
-XX:+UnlockExperimentalVMOptions \
-XX:+UseShenandoahGC \
-XX:ShenandoahGCHeuristics=compact \
-XX:ShenandoahAllocationThreshold=20 \
--add-exports=javafx.base/com.sun.javafx.event=ALL-UNNAMED \
--add-exports=javafx.controls/com.sun.javafx.charts=ALL-UNNAMED \
--add-opens=javafx.graphics/javafx.geometry=ALL-UNNAMED \
--add-opens=javafx.graphics/com.sun.javafx.scene=ALL-UNNAMED \
--add-opens=javafx.graphics/com.sun.javafx.scene.traversal=ALL-UNNAMED \
-Dapp.name="binjr" \
-Dapp.pid="$$" \
-Dapp.home="$BASEDIR" \
-Dbasedir="$BASEDIR" \
-Dapple.awt.application.appearance=system \
-Dbinjr.portable=true \
"eu.binjr.core.Bootstrap" \
--system-plugins-path="$BASEDIR/plugins" \
--packaging="MAC_TAR" \
"$@"