diff options
author | tkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7> | 2013-04-10 19:36:18 +0000 |
---|---|---|
committer | tkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7> | 2013-04-10 19:36:18 +0000 |
commit | 9e6e26977a1a6c3c00b1dcb1f4e24e86232a738a (patch) | |
tree | 3f612e2aa112926c1d24de6d33dbfcc62c0a74cd /pdf-over-gui/src/main/resources/scripts | |
parent | d6de3b8d165b29ba6f6a0a629dc83ca01b60dde1 (diff) | |
download | pdf-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')
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 |