mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
UPD: Beta version number format
This commit is contained in:
parent
f9fbdedb82
commit
96b0f50302
2 changed files with 8 additions and 4 deletions
|
|
@ -29,6 +29,7 @@
|
|||
<UseVersionInfo Value="True"/>
|
||||
<MajorVersionNr Value="1"/>
|
||||
<MinorVersionNr Value="1"/>
|
||||
<Attributes pvaPreRelease="True"/>
|
||||
<StringTable FileDescription="Double Commander" InternalName="DOUBLECMD" LegalCopyright="Copyright (C) 2006-2023 Alexander Koblov" ProductName="Double Commander"/>
|
||||
</VersionInfo>
|
||||
<BuildModes Count="5">
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
-------------------------------------------------------------------------
|
||||
Version information about DC, building tools and running environment.
|
||||
|
||||
Copyright (C) 2006-2021 Alexander Koblov (alexx2000@mail.ru)
|
||||
Copyright (C) 2006-2023 Alexander Koblov (alexx2000@mail.ru)
|
||||
Copyright (C) 2010 Przemyslaw Nagay (cobines@gmail.com)
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
|
|
@ -322,9 +322,12 @@ begin
|
|||
FixedInfo.FileVersion[1],
|
||||
FixedInfo.FileVersion[2]]);
|
||||
if (FixedInfo.FileFlags and VS_FF_PRERELEASE <> 0) then
|
||||
DCVersion+= ' alpha'
|
||||
else begin
|
||||
DCVersion+= ' beta';
|
||||
begin
|
||||
if (FixedInfo.FileFlags and VS_FF_PRIVATEBUILD <> 0) then
|
||||
DCVersion+= ' alpha'
|
||||
else begin
|
||||
DCVersion+= ' beta ' + IntToStr(FixedInfo.FileVersion[3]);
|
||||
end;
|
||||
end;
|
||||
Free;
|
||||
end;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue