1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-03 12:21:20 +00:00

Merge pull request #38 from mkilgore/versioninfo-num-string

Allow numerical $VERSIONINFO values to set corresponding string values
This commit is contained in:
Matt Kilgore 2022-05-06 16:44:55 -04:00 committed by GitHub
commit 8c42b16d29
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 0 deletions

View file

@ -3286,10 +3286,12 @@ DO
CASE "FILEVERSION#"
GOSUB ValidateVersion
viFileVersionNum$ = VersionInfoValue$
if viFileVersion$ = "" THEN viFileVersion$ = viFileVersionNum$
layout$ = SCase$("$VersionInfo:FILEVERSION#=") + VersionInfoValue$
CASE "PRODUCTVERSION#"
GOSUB ValidateVersion
viProductVersionNum$ = VersionInfoValue$
if viProductVersion$ = "" THEN viProductVersion$ = viProductVersionNum$
layout$ = SCase$("$VersionInfo:PRODUCTVERSION#=") + VersionInfoValue$
CASE "COMPANYNAME"
viCompanyName$ = VersionInfoValue$

View file

@ -0,0 +1,2 @@
$VERSIONINFO:ProductVersion#=1,2,3,4

View file

@ -0,0 +1,3 @@
$VERSIONINFO:ProductVersion#=1,2,3,4
$VERSIONINFO:ProductVersion=1,2,3,4