aboutsummaryrefslogblamecommitdiff
path: root/install-win32/getgui
blob: 1419bc9a6455524944f0a8fa46c865bb1768c827 (plain) (tree)




















                                                            
#!/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