summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main/resources/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'pdf-over-gui/src/main/resources/scripts')
-rw-r--r--pdf-over-gui/src/main/resources/scripts/pdf-over_linux.sh2
-rw-r--r--pdf-over-gui/src/main/resources/scripts/pdf-over_mac.sh2
-rw-r--r--pdf-over-gui/src/main/resources/scripts/pdf-over_win.bat6
-rw-r--r--pdf-over-gui/src/main/resources/scripts/uninstall_win.bat6
4 files changed, 7 insertions, 9 deletions
diff --git a/pdf-over-gui/src/main/resources/scripts/pdf-over_linux.sh b/pdf-over-gui/src/main/resources/scripts/pdf-over_linux.sh
index b9395340..8ee31f2a 100644
--- a/pdf-over-gui/src/main/resources/scripts/pdf-over_linux.sh
+++ b/pdf-over-gui/src/main/resources/scripts/pdf-over_linux.sh
@@ -1,3 +1,3 @@
#!/bin/sh
BASEDIR=`dirname $0`
-(cd "$BASEDIR/.." && exec java -cp "lib/*" at.asit.pdfover.gui.Main "$@")
+exec java -cp "$BASEDIR/../lib/*" at.asit.pdfover.gui.Main "$@"
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 8ae4abb1..dcb805ae 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"
-(cd "$BASEDIR/.." && exec java -XstartOnFirstThread -cp "lib/*" at.asit.pdfover.gui.Main "$@" &)
+exec java -XstartOnFirstThread -cp "$BASEDIR/../lib/*" at.asit.pdfover.gui.Main "$@" &
diff --git a/pdf-over-gui/src/main/resources/scripts/pdf-over_win.bat b/pdf-over-gui/src/main/resources/scripts/pdf-over_win.bat
index 5334d110..6468e582 100644
--- a/pdf-over-gui/src/main/resources/scripts/pdf-over_win.bat
+++ b/pdf-over-gui/src/main/resources/scripts/pdf-over_win.bat
@@ -1,4 +1,2 @@
-@echo off
-pushd %~dp0\..
-start /b javaw -jar lib\pdf-over-gui-4.0.1.jar %*
-popd
+@echo off
+start /b javaw -cp "%~dp0\..\lib\*" at.asit.pdfover.gui.Main %*
diff --git a/pdf-over-gui/src/main/resources/scripts/uninstall_win.bat b/pdf-over-gui/src/main/resources/scripts/uninstall_win.bat
index 4c01a10b..6377dd51 100644
--- a/pdf-over-gui/src/main/resources/scripts/uninstall_win.bat
+++ b/pdf-over-gui/src/main/resources/scripts/uninstall_win.bat
@@ -1,4 +1,4 @@
-@echo off
-pushd %~dp0\..
-start /b Uninstaller\uninstaller.jar
+@echo off
+pushd %~dp0\..
+start /b Uninstaller\uninstaller.jar
popd \ No newline at end of file