]> Git repositories of Nishi - tewi.git/commitdiff
fix installer
authorNishi <nishi@nishi.boats>
Mon, 23 Sep 2024 10:25:58 +0000 (10:25 +0000)
committerNishi <nishi@nishi.boats>
Mon, 23 Sep 2024 10:25:58 +0000 (10:25 +0000)
git-svn-id: file:///raid/svn-personal/tewi/trunk@130 8739d7e6-ffea-ec47-b151-bdff447c6205

Makefile
Server/tw_version.h
installer.sh

index 68b4f7e06dd764d1711825dbf851e7765f55236a..de7e8f234763ac9253c9c16fd4bdc6d49e927898 100644 (file)
--- 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 ../`"
 
index 2e64060489896c58d6d21346546c2d0e0996e010..c7889d98dfc7a41bd58a62d22f9860da7b22cb23 100644 (file)
@@ -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);
index e500e2dc18eef26a095f0f99050a7585895051d1..5c784e0441cdaf25c8d75827e87d62cc6d45cd16 100755 (executable)
@@ -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