Skip to content

Commit

Permalink
change version numbering scheme to 2.0.0 instead of 2.00
Browse files Browse the repository at this point in the history
  • Loading branch information
randomdude999 committed Jan 19, 2024
1 parent 0de8f2e commit d03a628
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/asar/interface-cli.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
8 changes: 4 additions & 4 deletions src/asar/res/windows/asar.rc
Original file line number Diff line number Diff line change
@@ -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"
{
Expand All @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions src/asar/res/windows/asar_lib.rc
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit d03a628

Please sign in to comment.