Rev 77 | Rev 79 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
#!/bin/sh
# $Id: installer.sh 78 2024-09-19 10:56:38Z nishi $
fail() {
rm -f tewi-service.exe
rm -f tewi.exe
exit 1
}
VERSION=`make get-version`
make clean || fail
make PLATFORM=$1 -j4 || fail
cp Server/tewi.exe tewi.exe
make clean || fail
make PLATFORM=$1-service -j4 || fail
cp Server/tewi.exe tewi-service.exe
cd Server
makensis -DVERSION=$VERSION install.nsi
rm -f tewi.exe tewi-service.exe
cd ..