File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed
Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change 11@ echo off
22if " %1 " == " " goto usage
3- setlocal
3+ setlocal DISABLEDELAYEDEXPANSION
44
55:: Normal version
66set execfiles = tcdll.tclock tclock.exe tcplayer.exe tcprop.exe tcsntp.exe tctimer.exe
77set pkgfiles = readme-kt.txt config-kt.txt format-kt.txt readme.html
8+ set srcfiles = source source_all\config.h source_custom\config.h pack.bat make_all.bat prepare_custom.bat
89
9- rem 7-zip32 a -mx=9 -m0=PPMd source.7z source pack.bat -xr!out -xr!out64 -xr!work -xr!work64 -xr!*.bak -xr!*.old
10- rem 7-zip32 a -m0=PPMd:o=31:mem=25 source.7z source pack.bat -xr!out -xr!out64 -xr!work -xr!work64 -xr!*.bak -xr!*.old
10+ if not exist pkg mkdir pkg
11+
12+ rem 7-zip32 a -mx=9 -m0=PPMd source.7z %srcfiles% -xr!out -xr!out64 -xr!work -xr!work64 -xr!*.bak -xr!*.old -xr!*.sw? -xr!*~ -xr!*.aps -xr!tags
13+ 7-zip32 a -m0=PPMd:o=31:mem=25 source.7z %srcfiles% -xr!out -xr! out64 -xr!work -xr! work64 -xr!*.bak -xr! *.old -xr!*.sw? -xr! *~ -xr!*.aps -xr! tags
14+ move /y source.7z pkg > nul
1115
1216robocopy source\out pkg\x86 %execfiles% > nul
1317robocopy source\out64 pkg\x64 %execfiles% > nul
14- robocopy lang pkg\lang > nul
18+ robocopy lang pkg\lang /xf *~ *.sw? > nul
1519robocopy . pkg %pkgfiles% > nul
1620
1721cd pkg
18- 7-zip32 a -mx=9 tclocklight-%1 .zip %pkgfiles% lang x86 x64
22+ 7-zip32 a -mx=9 tclocklight-%1 .zip %pkgfiles% lang x86 x64 source.7z
1923cd ..
2024
2125
You can’t perform that action at this time.
0 commit comments