diff options
Diffstat (limited to 'install-win32/getgui')
-rw-r--r-- | install-win32/getgui | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/install-win32/getgui b/install-win32/getgui new file mode 100644 index 0000000..1419bc9 --- /dev/null +++ b/install-win32/getgui @@ -0,0 +1,21 @@ +#!/bin/sh + +# Get and sign the OpenVPN GUI + +c=`pwd` + +# load version.nsi definitions +. autodefs/defs.sh + +GUI="$OPENVPN_GUI_DIR/$OPENVPN_GUI" + +if [ -e "$GUI" ]; then + cp $GUI bin + echo '!define OPENVPN_GUI_DEFINED' >autodefs/guidefs.nsi + if [ -d "$SIGNTOOL" ]; then + export TARGET_EXE="bin/$OPENVPN_GUI" + $SIGNTOOL/signexe + fi +else + cat /dev/null >autodefs/guidefs.nsi +fi |