aboutsummaryrefslogblamecommitdiff
path: root/install-win32/getgui
blob: c7fd2bbe7395e86eae062adbffcc281824f83f6a (plain) (tree)
1
2
3
4
5
6
7
8
9
10



                              





                                   

                                        

                                                            
                                                               



                                       
#!/bin/sh

# Get and sign the OpenVPN GUI

# load version.nsi definitions
. autodefs/defs.sh

GUI="$OPENVPN_GUI_DIR/$OPENVPN_GUI"

if [ -e "$GUI" ]; then
    mkdir -p $GENOUT/bin &>/dev/null    
    cp $GUI $GENOUT/bin
    echo '!define OPENVPN_GUI_DEFINED' >autodefs/guidefs.nsi
    if [ -d "$SIGNTOOL" ]; then
	TARGET_EXE="$GENOUT/bin/$OPENVPN_GUI" $SIGNTOOL/signexe
    fi
else
    cat /dev/null >autodefs/guidefs.nsi
fi