File tree Expand file tree Collapse file tree 1 file changed +12
-6
lines changed
Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -20,16 +20,22 @@ workspace "W3DAnniversaryPatch"
2020 includedirs { " source/injector" }
2121 includedirs { " source/inireader" }
2222
23+ date = os .outputof (" date /t" )
24+ yy = tonumber (string.sub (date , 9 , 10 ))
25+ mm = tonumber (string.sub (date , 4 , 5 ))
26+ dd = tonumber (string.sub (date , 1 , 2 ))
27+ build = 0
28+
2329 defines {
24- " rsc_MajorVersion=22 " ,
25- " rsc_MinorVersion=10 " ,
26- " rsc_RevisionID=11 " ,
27- " rsc_BuildID=1 "
30+ " rsc_MajorVersion=%{yy} " ,
31+ " rsc_MinorVersion=%{mm} " ,
32+ " rsc_RevisionID=%{dd} " ,
33+ " rsc_BuildID=%{build} "
2834 }
2935 defines {
30- " rsc_StringVersion=\" 22.10.11.1 \" " ,
36+ " rsc_StringVersion=\" %{yy}.%{mm}.%{dd}.%{build} \" " ,
3137 " rsc_InternalName=\" %{prj.name}\" " ,
32- " rsc_ProductName=\" Community Patch\" " ,
38+ " rsc_ProductName=\" Anniversary Patch\" " ,
3339 " rsc_OriginalFilename=\" %{prj.name}.dll\" " ,
3440 " rsc_CompanyName=\" heatray\" " ,
3541 " rsc_LegalCopyright=\" Copyright (C) heatray\" " ,
You can’t perform that action at this time.
0 commit comments