mirror of
https://github.com/bitcookies/winrar-keygen.git
synced 2026-01-11 20:10:21 +00:00
🌏 Multi-encoding Support
This commit is contained in:
parent
e298552328
commit
b998ea3d5a
9 changed files with 32 additions and 28 deletions
|
|
@ -312,4 +312,3 @@ public:
|
|||
return Point(*this, pbX, cbX, pbY, cbY);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -482,4 +482,4 @@ public:
|
|||
}
|
||||
}
|
||||
);
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -238,7 +238,7 @@ public:
|
|||
RegInfo.Checksum
|
||||
);
|
||||
|
||||
// The length has been limited to 60
|
||||
// The length has been limited to 60 (issues #6)
|
||||
// This problem has been fixed, this prompt should no longer appear
|
||||
if (RegInfo.HexData.length() % 54 != 0) {
|
||||
throw std::runtime_error("InternalError: The length of register data is not correct.");
|
||||
|
|
|
|||
|
|
@ -9,14 +9,10 @@
|
|||
void Help() {
|
||||
_putts(TEXT("Please use the following command:\n"));
|
||||
_putts(TEXT("Usage:"));
|
||||
_putts(TEXT(" winrar-keygen.exe <Your Name> <Your License>"));
|
||||
_putts(TEXT(" winrar-keygen.exe <Username> <License Name>"));
|
||||
_putts(TEXT(""));
|
||||
_putts(TEXT("Example:"));
|
||||
_putts(TEXT(" winrar-keygen.exe \"Github\" \"Github.com\"\n"));
|
||||
_putts(TEXT(" or:"));
|
||||
_putts(TEXT(" winrar-keygen.exe \"Github\" \"Github.com\" > rarreg.key\n"));
|
||||
_putts(TEXT(" or:"));
|
||||
_putts(TEXT(" winrar-keygen.exe \"Github\" \"Github.com\" | Out-File -Encoding ASCII rarreg.key\n"));
|
||||
_putts(TEXT(" winrar-keygen.exe \"Github\" \"Single PC usage license\"\n"));
|
||||
}
|
||||
|
||||
void PrintRegisterInfo(const WinRarKeygen<WinRarConfig>::RegisterInfo& Info) {
|
||||
|
|
@ -73,4 +69,3 @@ int _tmain(int argc, PTSTR argv[]) {
|
|||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -2,13 +2,14 @@
|
|||
// Microsoft Visual C++ 生成的包含文件。
|
||||
// 供 winrar-keygen.rc 使用
|
||||
//
|
||||
#define IDI_ICON1 101
|
||||
#define IDB_PNG1 102
|
||||
#define IDI_ICON1 103
|
||||
|
||||
// Next default values for new objects
|
||||
//
|
||||
#ifdef APSTUDIO_INVOKED
|
||||
#ifndef APSTUDIO_READONLY_SYMBOLS
|
||||
#define _APS_NEXT_RESOURCE_VALUE 102
|
||||
#define _APS_NEXT_RESOURCE_VALUE 105
|
||||
#define _APS_NEXT_COMMAND_VALUE 40001
|
||||
#define _APS_NEXT_CONTROL_VALUE 1001
|
||||
#define _APS_NEXT_SYMED_VALUE 101
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -45,24 +45,14 @@ END
|
|||
#endif // APSTUDIO_INVOKED
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Icon
|
||||
//
|
||||
|
||||
// Icon with lowest ID value placed first to ensure application icon
|
||||
// remains consistent on all systems.
|
||||
IDI_ICON1 ICON "icon.ico"
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Version
|
||||
//
|
||||
|
||||
VS_VERSION_INFO VERSIONINFO
|
||||
FILEVERSION 2,1,3,0
|
||||
PRODUCTVERSION 2,1,3,0
|
||||
FILEVERSION 3,0,0,0
|
||||
PRODUCTVERSION 3,0,0,0
|
||||
FILEFLAGSMASK 0x3fL
|
||||
#ifdef _DEBUG
|
||||
FILEFLAGS 0x1L
|
||||
|
|
@ -79,12 +69,12 @@ BEGIN
|
|||
BEGIN
|
||||
VALUE "CompanyName", "WinRAR Keygen"
|
||||
VALUE "FileDescription", "WinRAR Key Generation Tool"
|
||||
VALUE "FileVersion", "2.1.3.0"
|
||||
VALUE "FileVersion", "3.0.0.0"
|
||||
VALUE "InternalName", "winrar-keygen.exe"
|
||||
VALUE "LegalCopyright", "Copyright (C) 2022 MIT License"
|
||||
VALUE "LegalCopyright", "Copyright (C) 2024 MIT License"
|
||||
VALUE "OriginalFilename", "winrar-keygen.exe"
|
||||
VALUE "ProductName", "WinRAR Keygen"
|
||||
VALUE "ProductVersion", "2.1.3.0"
|
||||
VALUE "ProductVersion", "3.0.0.0"
|
||||
END
|
||||
END
|
||||
BLOCK "VarFileInfo"
|
||||
|
|
@ -93,6 +83,24 @@ BEGIN
|
|||
END
|
||||
END
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// PNG
|
||||
//
|
||||
|
||||
IDB_PNG1 PNG "D:\\Users\\haoning\\Documents\\GitHub\\@pudding0503\\winrar-keygen\\icon.png"
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Icon
|
||||
//
|
||||
|
||||
// Icon with lowest ID value placed first to ensure application icon
|
||||
// remains consistent on all systems.
|
||||
IDI_ICON1 ICON "icon.ico"
|
||||
|
||||
#endif // ÖÐÎÄ(¼òÌ壬Öйú) resources
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
|
|
|||
|
|
@ -120,6 +120,7 @@
|
|||
<ConformanceMode>true</ConformanceMode>
|
||||
<LanguageStandard>stdcpp17</LanguageStandard>
|
||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
|
|
|
|||
|
|
@ -64,4 +64,4 @@
|
|||
<ItemGroup>
|
||||
<None Include="LICENSE" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
</Project>
|
||||
|
|
|
|||
Loading…
Reference in a new issue