Skip to content

Commit 60c035c

Browse files
committed
appimage angepasst an neue startoptionen und zusätzlichen dependency Ordner.
1 parent 2e05fd6 commit 60c035c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripte/appimage.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,14 +78,15 @@ cp ../MediathekView/MediathekView.svg $LOWERAPP.svg
7878

7979
cp ../MediathekView/MediathekView.jar usr/bin
8080
chmod +x usr/bin/MediathekView.jar
81+
cp -r ../MediathekView/dependency usr/bin/
8182
#cp ../MediathekView/MediathekView.sh usr/bin/$LOWERAPP
8283

8384
cat > usr/bin/$LOWERAPP <<'EOF'
8485
#!/bin/sh
8586
8687
dir=$(dirname $(readlink -f "$0"))
8788
cd "$dir"
88-
MediathekView -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=compact -XX:MaxRAMPercentage=50.0 -XX:+UseStringDeduplication --enable-native-access=ALL-UNNAMED --add-modules jdk.incubator.vector --add-opens java.desktop/sun.awt.X11=ALL-UNNAMED -DexternalUpdateCheck -jar MediathekView.jar "$@"
89+
MediathekView -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=compact -XX:+UseStringDeduplication -XX:MaxRAMPercentage=50.0 --enable-native-access=ALL-UNNAMED --add-modules jdk.incubator.vector --add-exports=java.desktop/sun.swing=ALL-UNNAMED --add-opens java.desktop/sun.awt.X11=ALL-UNNAMED -ea -cp "MediathekView.jar:dependency/*" -DexternalUpdateCheck mediathek.Main "$@"
8990
cd $OLDPWD
9091
EOF
9192

0 commit comments

Comments
 (0)