summaryrefslogtreecommitdiff
path: root/pdf-over-gui
diff options
context:
space:
mode:
authorJakob Heher <jakob.heher@iaik.tugraz.at>2022-04-04 16:54:23 +0200
committerJakob Heher <jakob.heher@iaik.tugraz.at>2022-04-04 16:54:23 +0200
commit734d2aa49a7701a622cdbe3c4167db6e2a9c31dc (patch)
tree02e563d7d05f0e7838e1d5282b8f151c51b5f4cc /pdf-over-gui
parent3e63904fb84cdf6668f363ba2544e5b2fcf3e901 (diff)
downloadpdf-over-734d2aa49a7701a622cdbe3c4167db6e2a9c31dc.tar.gz
pdf-over-734d2aa49a7701a622cdbe3c4167db6e2a9c31dc.tar.bz2
pdf-over-734d2aa49a7701a622cdbe3c4167db6e2a9c31dc.zip
enable JRE bunding for mac start script
Diffstat (limited to 'pdf-over-gui')
-rw-r--r--pdf-over-gui/pom.xml2
-rw-r--r--pdf-over-gui/src/main/resources/scripts/pdf-over_mac.sh2
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 @@
<directory>src/main/resources</directory>
<includes>
<include>icons/*</include>
- <include>scripts/*</include>
</includes>
</resource>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
<includes>
+ <include>scripts/*</include>
<include>ReadMe.txt</include>
</includes>
</resource>
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 "$@" &