From 734d2aa49a7701a622cdbe3c4167db6e2a9c31dc Mon Sep 17 00:00:00 2001 From: Jakob Heher Date: Mon, 4 Apr 2022 16:54:23 +0200 Subject: enable JRE bunding for mac start script --- pdf-over-gui/pom.xml | 2 +- pdf-over-gui/src/main/resources/scripts/pdf-over_mac.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pdf-over-gui/pom.xml b/pdf-over-gui/pom.xml index 39461d6e..ad7defac 100644 --- a/pdf-over-gui/pom.xml +++ b/pdf-over-gui/pom.xml @@ -265,13 +265,13 @@ src/main/resources icons/* - scripts/* src/main/resources true + scripts/* ReadMe.txt diff --git a/pdf-over-gui/src/main/resources/scripts/pdf-over_mac.sh b/pdf-over-gui/src/main/resources/scripts/pdf-over_mac.sh index 7c923463..2e0e34a7 100644 --- a/pdf-over-gui/src/main/resources/scripts/pdf-over_mac.sh +++ b/pdf-over-gui/src/main/resources/scripts/pdf-over_mac.sh @@ -1,4 +1,4 @@ #!/bin/sh BASEDIR=$(cd "$(dirname "$0")"; pwd) export LC_CTYPE="UTF-8" -exec java -XstartOnFirstThread -cp "$BASEDIR/lib/*" at.asit.pdfover.gui.Main "$@" & +exec $BASEDIR/jre/${bundled-jre.nameInArchive}/bin/java -XstartOnFirstThread -cp "$BASEDIR/lib/*" at.asit.pdfover.gui.Main "$@" & -- cgit v1.2.3