Line | |
---|
1 | #!/bin/sh
|
---|
2 | # $Id: installer.sh 78 2024-09-19 10:56:38Z nishi $
|
---|
3 |
|
---|
4 | fail() {
|
---|
5 | rm -f tewi-service.exe
|
---|
6 | rm -f tewi.exe
|
---|
7 | exit 1
|
---|
8 | }
|
---|
9 |
|
---|
10 | VERSION=`make get-version`
|
---|
11 |
|
---|
12 | make clean || fail
|
---|
13 | make PLATFORM=$1 -j4 || fail
|
---|
14 | cp Server/tewi.exe tewi.exe
|
---|
15 | make clean || fail
|
---|
16 | make PLATFORM=$1-service -j4 || fail
|
---|
17 | cp Server/tewi.exe tewi-service.exe
|
---|
18 | cd Server
|
---|
19 | makensis -DVERSION=$VERSION install.nsi
|
---|
20 | rm -f tewi.exe tewi-service.exe
|
---|
21 | cd ..
|
---|
Note:
See
TracBrowser
for help on using the repository browser.