From 2adcd7c5bdafe0dc718a2419faed77b7d4a4a985 Mon Sep 17 00:00:00 2001 From: Nishi Date: Mon, 23 Sep 2024 10:25:58 +0000 Subject: [PATCH] fix installer git-svn-id: file:///raid/svn-personal/tewi/trunk@130 8739d7e6-ffea-ec47-b151-bdff447c6205 --- Makefile | 3 +++ Server/tw_version.h | 2 +- installer.sh | 4 ++-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 68b4f7e..de7e8f2 100644 --- a/Makefile +++ b/Makefile @@ -18,6 +18,9 @@ all: ./Server ./Module ./Manpage ./Tool/genconf ./Tool/itworks ./Tool/genconf: ./Tool/genconf.c cc -o $@ ./Tool/genconf.c +./Tool/itworks: ./Tool/itworks.c + cc -o $@ ./Tool/itworks.c + ./Server:: ./Common ./Tool/option $(MAKE) -C $@ $(FLAGS) EXTOBJS="`./Tool/option objs ../`" EXTLIBS="`./Tool/option libs ../`" EXTCFLAGS="`./Tool/option cflags ../`" EXTLDFLAGS="`./Tool/option ldflags ../`" diff --git a/Server/tw_version.h b/Server/tw_version.h index 2e64060..c7889d9 100644 --- a/Server/tw_version.h +++ b/Server/tw_version.h @@ -3,7 +3,7 @@ #ifndef __TW_VERSION_H__ #define __TW_VERSION_H__ -#define TW_VERSION "1.04\0" +#define TW_VERSION "1.04A\0" const char* tw_get_version(void); const char* tw_get_platform(void); diff --git a/installer.sh b/installer.sh index e500e2d..5c784e0 100755 --- a/installer.sh +++ b/installer.sh @@ -22,7 +22,7 @@ make clean || fail make PLATFORM=$1-service -j4 || fail cp Server/tewi.exe tewi-service.exe cd Server -../Tool/genconf > ../generated.conf +../Tool/genconf "C:/Tewi" > ../generated.conf ../Tool/itworks > ../itworks.html makensis -DVERSION=$VERSION install.nsi cp install.exe ../install-nossl.exe @@ -38,7 +38,7 @@ make clean || fail make PLATFORM=$1-service -j4 || fail cp Server/tewi.exe tewi-service.exe cd Server -../Tool/genconf > ../generated.conf +../Tool/genconf "C:/Tewi" > ../generated.conf ../Tool/itworks > ../itworks.html makensis -DVERSION=$VERSION install.nsi cp install.exe ../install-ssl.exe -- 2.43.0