summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main/resources/scripts
diff options
context:
space:
mode:
authortkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-04-10 19:36:18 +0000
committertkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-04-10 19:36:18 +0000
commit9e6e26977a1a6c3c00b1dcb1f4e24e86232a738a (patch)
tree3f612e2aa112926c1d24de6d33dbfcc62c0a74cd /pdf-over-gui/src/main/resources/scripts
parentd6de3b8d165b29ba6f6a0a629dc83ca01b60dde1 (diff)
downloadpdf-over-9e6e26977a1a6c3c00b1dcb1f4e24e86232a738a.tar.gz
pdf-over-9e6e26977a1a6c3c00b1dcb1f4e24e86232a738a.tar.bz2
pdf-over-9e6e26977a1a6c3c00b1dcb1f4e24e86232a738a.zip
Update windows scripts, add linux uninstall script
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@407 174cde9d-5d70-4d2a-aa98-46368bc2aaf7
Diffstat (limited to 'pdf-over-gui/src/main/resources/scripts')
-rw-r--r--pdf-over-gui/src/main/resources/scripts/pdf-over_win.bat5
-rw-r--r--pdf-over-gui/src/main/resources/scripts/uninstall_linux.sh3
-rw-r--r--pdf-over-gui/src/main/resources/scripts/uninstall_win.bat5
3 files changed, 11 insertions, 2 deletions
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 ae0cbbca..66d3c22e 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 +1,4 @@
-@start /b javaw -jar lib\pdf-over-gui-4.0.0-SNAPSHOT.jar %* \ No newline at end of file
+@echo off
+pushd %~dp0\..
+start /b javaw -jar lib\pdf-over-gui-4.0.0-SNAPSHOT.jar %*
+popd \ No newline at end of file
diff --git a/pdf-over-gui/src/main/resources/scripts/uninstall_linux.sh b/pdf-over-gui/src/main/resources/scripts/uninstall_linux.sh
new file mode 100644
index 00000000..4f36b8e9
--- /dev/null
+++ b/pdf-over-gui/src/main/resources/scripts/uninstall_linux.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+BASEDIR=`dirname $0`
+(cd "$BASEDIR/.." && exec java -jar Uninstaller/uninstaller.jar)
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 f9da9ee1..4c01a10b 100644
--- a/pdf-over-gui/src/main/resources/scripts/uninstall_win.bat
+++ b/pdf-over-gui/src/main/resources/scripts/uninstall_win.bat
@@ -1 +1,4 @@
-@start /b Uninstaller\uninstaller.jar \ No newline at end of file
+@echo off
+pushd %~dp0\..
+start /b Uninstaller\uninstaller.jar
+popd \ No newline at end of file