- Changed versions to be read from the resource stream
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
<MinorVersionNr Value="6"/>
|
||||
<RevisionNr Value="1"/>
|
||||
<BuildNr Value="209"/>
|
||||
<StringTable CompanyName="AKS DataBasis" FileDescription="CentrED Server" InternalName="CentrED Server" LegalCopyright="Andreas Schneider" OriginalFilename="cedserver.exe" ProductName="CentrED"/>
|
||||
<StringTable CompanyName="AKS DataBasis" FileDescription="CentrED Server" InternalName="CentrED Server" LegalCopyright="Andreas Schneider" OriginalFilename="cedserver.exe" ProductName="CentrED" ProductVersion="0.6.1"/>
|
||||
</VersionInfo>
|
||||
<BuildModes Count="3">
|
||||
<Item1 Name="default" Default="True"/>
|
||||
@@ -219,7 +219,6 @@
|
||||
<IncludeFiles Value="..;../Imaging"/>
|
||||
<OtherUnitFiles Value="..;../UOLib;../MulProvider;../Imaging/ZLib"/>
|
||||
<UnitOutputDirectory Value="../obj"/>
|
||||
<SrcPath Value="..;../UOLib;../MulProvider;../Imaging/ZLib"/>
|
||||
</SearchPaths>
|
||||
<Parsing>
|
||||
<SyntaxOptions>
|
||||
@@ -242,4 +241,4 @@
|
||||
<CompilerPath Value="$(CompPath)"/>
|
||||
</Other>
|
||||
</CompilerOptions>
|
||||
</CONFIG>
|
||||
</CONFIG>
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
* CDDL HEADER END
|
||||
*
|
||||
*
|
||||
* Portions Copyright 2008 Andreas Schneider
|
||||
* Portions Copyright 2011 Andreas Schneider
|
||||
*)
|
||||
program cedserver;
|
||||
|
||||
@@ -31,18 +31,14 @@ uses
|
||||
{$IFDEF UNIX}{$IFDEF UseCThreads}
|
||||
cthreads,
|
||||
{$ENDIF}{$ENDIF}
|
||||
SysUtils, UConfig, UCEDServer;
|
||||
SysUtils, UConfig, UCEDServer, vinfo;
|
||||
|
||||
{$I version.inc}
|
||||
|
||||
{$IFDEF WINDOWS}{$R cedserver.rc}{$ENDIF}
|
||||
|
||||
{$R *.res}
|
||||
|
||||
begin
|
||||
Writeln('');
|
||||
Writeln('CentrED Server Version ', ProductVersion);
|
||||
Writeln('Copyright ', Copyright);
|
||||
Writeln('CentrED Server Version ', versionInfo.GetProductVersionString);
|
||||
Writeln('Copyright 2011 Andreas Schneider');
|
||||
//Writeln('================================');
|
||||
Writeln('');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user