Changeset 79 in Main for trunk/installer.sh


Ignore:
Timestamp:
Sep 19, 2024, 8:11:55 PM (2 months ago)
Author:
Nishi
Message:

installer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/installer.sh

    r78 r79  
    55        rm -f tewi-service.exe
    66        rm -f tewi.exe
     7        mv config.h.bak config.h
    78        exit 1
    89}
    910
    1011VERSION=`make get-version`
     12
     13sed "s/undef NO_SSL/define NO_SSL/g" config.h.tmpl > config.h
    1114
    1215make clean || fail
     
    1821cd Server
    1922makensis -DVERSION=$VERSION install.nsi
     23cp install.exe ../install-nossl.exe
    2024rm -f tewi.exe tewi-service.exe
    2125cd ..
     26
     27sed "s/define NO_SSL/undef NO_SSL/g" config.h.tmpl > config.h
     28
     29make clean || fail
     30make PLATFORM=$1 -j4 || fail
     31cp Server/tewi.exe tewi.exe
     32make clean || fail
     33make PLATFORM=$1-service -j4 || fail
     34cp Server/tewi.exe tewi-service.exe
     35cd Server
     36makensis -DVERSION=$VERSION install.nsi
     37cp install.exe ../install-ssl.exe
     38rm -f tewi.exe tewi-service.exe
     39cd ..
Note: See TracChangeset for help on using the changeset viewer.