From d03a628157c64e75f6e743b8b99955040bf0d7e1 Mon Sep 17 00:00:00 2001 From: randomdude999 Date: Fri, 19 Jan 2024 14:48:18 +0200 Subject: [PATCH] change version numbering scheme to 2.0.0 instead of 2.00 --- src/asar/interface-cli.cpp | 4 ++-- src/asar/res/windows/asar.rc | 8 ++++---- src/asar/res/windows/asar_lib.rc | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/asar/interface-cli.cpp b/src/asar/interface-cli.cpp index 07e38f28..7505dc73 100644 --- a/src/asar/interface-cli.cpp +++ b/src/asar/interface-cli.cpp @@ -253,8 +253,8 @@ int main(int argc, const char * argv[]) try { romdata_r = nullptr; - string version=STR"Asar "+dec(asarver_maj)+"."+dec(asarver_min)+((asarver_bug>=10 || asarver_min>=10)?".":"")+ - dec(asarver_bug)+(asarver_beta?"pre":"")+", originally developed by Alcaro, maintained by Asar devs.\n"+ + string version=STR"Asar "+dec(asarver_maj)+"."+dec(asarver_min)+"."+dec(asarver_bug)+(asarver_beta?"pre":"") + +", originally developed by Alcaro, maintained by Asar devs.\n"+ "Source code: https://github.com/RPGHacker/asar\n"; const char * myname=argv[0]; if (strrchr(myname, '/')) myname=strrchr(myname, '/')+1; diff --git a/src/asar/res/windows/asar.rc b/src/asar/res/windows/asar.rc index b625ff27..973bf331 100644 --- a/src/asar/res/windows/asar.rc +++ b/src/asar/res/windows/asar.rc @@ -1,8 +1,8 @@ 1 ICON DISCARDABLE "asar.ico" 1 VERSIONINFO - FILEVERSION 1,8,1,0 - PRODUCTVERSION 1,8,1,0 + FILEVERSION 2,0,0,0 + PRODUCTVERSION 2,0,0,0 { BLOCK "StringFileInfo" { @@ -11,12 +11,12 @@ VALUE "CompanyName", "Asar devs\0" VALUE "FileDescription", "SNES assembler\0" // explorer apparently always shows the file version with the numbers, but product version with text? - VALUE "FileVersion", "v1.81\0" + VALUE "FileVersion", "v2.0.0\0" // apparently this is required? VALUE "InternalName", "asar\0" VALUE "OriginalFilename", "asar.exe\0" VALUE "ProductName", "Asar\0" - VALUE "ProductVersion", "v1.81\0" + VALUE "ProductVersion", "v2.0.0\0" } } BLOCK "VarFileInfo" diff --git a/src/asar/res/windows/asar_lib.rc b/src/asar/res/windows/asar_lib.rc index 831033ec..84960505 100644 --- a/src/asar/res/windows/asar_lib.rc +++ b/src/asar/res/windows/asar_lib.rc @@ -9,12 +9,12 @@ VALUE "CompanyName", "Asar devs\0" VALUE "FileDescription", "SNES assembler\0" // explorer apparently always shows the file version with the numbers, but product version with text? - VALUE "FileVersion", "v2.00\0" + VALUE "FileVersion", "v2.0.0\0" // apparently this is required? VALUE "InternalName", "asar\0" VALUE "OriginalFilename", "asar.exe\0" VALUE "ProductName", "Asar\0" - VALUE "ProductVersion", "v2.00\0" + VALUE "ProductVersion", "v2.0.0\0" } } BLOCK "VarFileInfo"