- Timestamp:
- Oct 3, 2024, 4:50:16 AM (6 weeks ago)
- Location:
- trunk
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile
r197 r217 33 33 34 34 ./README: ./README.tmpl ./Server/tw_version.h 35 sed "s/@VERSION@/`grep "define TW_VERSION" Server/tw_version.h | grep -Eo '"[^\]+' | sed -E's/^"//g'`/g" ./README.tmpl > $@35 sed "s/@VERSION@/`grep "define TW_VERSION" Server/tw_version.h | grep -Eo '"[^\]+' | sed 's/^"//g'`/g" ./README.tmpl > $@ 36 36 37 37 install: all ./Tool/genconf ./Tool/itworks … … 47 47 48 48 get-version: 49 @grep "define TW_VERSION" Server/tw_version.h | grep -Eo '"[^\]+' | sed -E's/^"//g'49 @grep "define TW_VERSION" Server/tw_version.h | grep -Eo '"[^\]+' | sed 's/^"//g' 50 50 51 51 clean: -
trunk/Server/install.nsi
r208 r217 40 40 CreateDirectory "$INSTDIR\bin" 41 41 SetOutPath "$INSTDIR" 42 File /oname=LICENSE.txt "../LICENSE" 42 !cd .. 43 File /oname=LICENSE.txt "LICENSE" 43 44 SetOutPath "$INSTDIR\modules" 44 File "../Module/*.dll" 45 !cd Module 46 File "*.dll" 47 !cd .. 45 48 SetOutPath "$INSTDIR\etc" 46 49 SetOverWrite off 47 File /oname=tewi.conf " ../generated.conf"50 File /oname=tewi.conf "generated.conf" 48 51 SetOutPath "$INSTDIR\www" 49 File /oname=index.html "../itworks.html" 50 File /oname=pbtewi.gif "../Binary/pbtewi.gif" 52 File /oname=index.html "itworks.html" 53 !cd Binary 54 File /oname=pbtewi.gif "pbtewi.gif" 55 !cd .. 51 56 SetOutPath "$INSTDIR\www\icons" 52 File "../Icons/*.png" 57 !cd Icons 58 File "*.png" 59 !cd .. 60 !cd Server 53 61 SetOverWrite on 54 62 … … 73 81 Section "$(EXEC_ONLY)" SEL_EXEC 74 82 SetOutPath "$INSTDIR\bin" 75 File "../tewi.exe" 83 !cd .. 84 File "tewi.exe" 85 !cd Server 76 86 WriteINIStr $INSTDIR\install.ini uninstall service false 77 87 SectionEnd 78 88 89 !ifndef ONLY_EXEC 79 90 Section /o "$(SERV_TOO)" SEL_SERVICE 80 91 WriteINIStr $INSTDIR\install.ini uninstall service true … … 88 99 CreateDirectory "$INSTDIR\logs" 89 100 SetOutPath "$INSTDIR\bin" 90 File "../tewi.exe" 91 File /oname=tewisrv.exe "../tewi-service.exe" 101 !cd .. 102 File "tewi.exe" 103 File /oname=tewisrv.exe "tewi-service.exe" 104 !cd Server 92 105 FileOpen $9 $INSTDIR\install.bat w 93 106 FileWrite $9 '"$SYSDIR\sc.exe" delete "TewiHTTPd"$\r$\n' … … 99 112 Delete $INSTDIR\install.bat 100 113 SectionEnd 114 !endif 101 115 102 116 Function .onInit … … 107 121 !insertmacro StartRadioButtons $1 108 122 !insertmacro RadioButton ${SEL_EXEC} 123 !ifndef ONLY_EXEC 109 124 !insertmacro RadioButton ${SEL_SERVICE} 125 !endif 110 126 !insertmacro EndRadioButtons 111 127 FunctionEnd -
trunk/Server/module.c
r215 r217 29 29 #if defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__) 30 30 #include <windows.h> 31 #include <direct.h> 31 32 #else 32 33 #include <dlfcn.h>
Note:
See TracChangeset
for help on using the changeset viewer.