💻 Update support vs2022

Update support vs2022
This commit is contained in:
BitCookies 2021-11-09 13:17:52 +08:00 committed by bitcookies
parent 8523822ee3
commit 18f899ed18
17 changed files with 48 additions and 19 deletions

View file

@ -0,0 +1,11 @@
{
"Version": 1,
"ProjectMap": {
"2443aa55-9534-4451-9bcc-48ac0982a0cc": {
"ProjectGuid": "2443aa55-9534-4451-9bcc-48ac0982a0cc",
"DisplayName": "winrar-keygen",
"ColorIndex": 0
}
},
"NextColorIndex": 1
}

BIN
.vs/winrar-keygen/v17/.suo Normal file

Binary file not shown.

Binary file not shown.

View file

@ -3,14 +3,18 @@
<h2 align="center">WinRAR Keygen</h2>
<p align="center">Principle of WinRAR key generation</p>
</p>
<p align="center">
<img src="https://img.shields.io/github/v/release/bitcookies/winrar-keygen?label=version" />
<a href="https://github.com/bitcookies/winrar-keygen/issues">
<img alt="Issues" src="https://img.shields.io/github/issues/bitcookies/winrar-keygen?color=F48D73" />
</a>
<img src="https://img.shields.io/badge/Visual%20Studio-2022-5D4298" />
<a href="https://github.com/bitcookies/winrar-keygen/blob/master/LICENSE">
<img alt="License" src="https://img.shields.io/github/license/bitcookies/winrar-keygen.svg" />
</a>
</p>
<p align="center">
<a href="README.zh-CN.md">简体中文</a> | <a href="README.md">English</a>
</p>
@ -35,7 +39,7 @@ If you don't want to compile it yourself, you can also go to the [release page](
### 3.1 Prerequisites
1. Please make sure that you have __Visual Studio 2019__ or the higher. Because this is a VS2019 project.
1. Please make sure that you have **Visual Studio 2022**. Because this is a VS2022 project. If you are still using Visual Studio 2019, you can find projects for VS2019 in the [vs2019](https://github.com/bitcookies/winrar-keygen/tree/vs2019) branch.
2. Please make sure you have installed `vcpkg` and the following libraries:
@ -132,9 +136,13 @@ If you encounter some problems, you can report on the [Issues](https://github.co
### 6.2 Security
Some Anti-Virus Software may falsely report. If you do not trust this binary executable file, your only option is to compile the code yourself.
[Issues #1](https://github.com/bitcookies/winrar-keygen/issues/1) Some Anti-Virus Software may falsely report. If you do not trust this binary executable file, your only option is to compile the code yourself.
### 6.3 Thanks
### 6.3 Download
[Issues #4](https://github.com/bitcookies/winrar-keygen/issues/4) IDM and other download tools may have problems, please use a browser (e.g. chrome, edge) to download.
### 6.4 Thanks
Thank you very much to some enthusiastic developers for helping answer some questions in [Issues](https://github.com/bitcookies/winrar-keygen/issues).

View file

@ -8,8 +8,13 @@
<a href="https://github.com/bitcookies/winrar-keygen/issues">
<img alt="Issues" src="https://img.shields.io/github/issues/bitcookies/winrar-keygen?color=F48D73" />
</a>
<img src="https://img.shields.io/badge/Visual%20Studio-2022-5D4298" />
<a href="https://github.com/bitcookies/winrar-keygen/blob/master/LICENSE">
<img alt="License" src="https://img.shields.io/github/license/bitcookies/winrar-keygen.svg" />
</a>
</p>
<p align="center">
<a href="README.zh-CN.md">简体中文</a> | <a href="README.md">English</a>
</p>
@ -34,11 +39,12 @@ WinRAR不是免费软件。如果你想使用它你应当向 [__RARLAB__](htt
### 3.1 前提条件
1. 请确保你有 __Visual Studio 2019__ 或其更高版本。因为这是一个VS2019项目。
1. 请确保你有 **Visual Studio 2022**,因为这是一个 VS2022 项目。如果你仍在使用 Visual Studio 2019可以在 [vs2019](https://github.com/bitcookies/winrar-keygen/tree/vs2019) 分支中找到适合 VS2019 的项目。
2. 请确保你安装了 `vcpkg` 以及下面几个库:
* `mpir:x86-windows-static`
- `mpir:x86-windows-static`
* `mpir:x64-windows-static`
你可以通过下的命令来安装:
@ -57,11 +63,11 @@ WinRAR不是免费软件。如果你想使用它你应当向 [__RARLAB__](htt
### 3.2 编译
1. 在 __Visual Studio__ 中打开这个项目。
2. 选择 `Release` 配置。
3. 选择 __生成 > 生成解决方案__
你将在 `bin/` 目录下看到生成的文件。
## 4. 如何使用?
直接在终端执行以下代码,配置两个参数即可生成 `rarreg.key`
@ -113,7 +119,7 @@ winrar-keygen.exe <text1> <text2>
### 5.2 终端编码的问题
有可能是终端编码的问题,你可以使用 `chcp` 命令暂时切换。
[Issues #5](https://github.com/bitcookies/winrar-keygen/issues/5) 有可能是终端编码的问题,你可以使用 `chcp` 命令暂时切换。
具体可参考 Microsoft 文档:[chcp | Microsoft Docs](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/chcp)
@ -125,9 +131,13 @@ winrar-keygen.exe <text1> <text2>
### 6.2 安全
一些杀毒软件可能会误报,如果您不信任此二进制可执行文件,您唯一的选择就是自己编译代码。
[Issues #1](https://github.com/bitcookies/winrar-keygen/issues/1) 一些杀毒软件可能会误报,如果您不信任此二进制可执行文件,您唯一的选择就是自己编译代码。
### 6.3 感谢
### 6.3 下载
[Issues #4](https://github.com/bitcookies/winrar-keygen/issues/4) IDM等下载工具可能会有问题请使用浏览器例如 chrome、edge下载。
### 6.4 感谢
非常感谢一些热心的开发者,在 [Issues](https://github.com/bitcookies/winrar-keygen/issues) 帮助解答一些问题。

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -61,8 +61,8 @@ IDI_ICON1 ICON "icon.ico"
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,0,2,0
PRODUCTVERSION 1,0,2,0
FILEVERSION 1,0,3,0
PRODUCTVERSION 1,0,3,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
@ -79,12 +79,12 @@ BEGIN
BEGIN
VALUE "CompanyName", "WinRAR Keygen"
VALUE "FileDescription", "WinRAR Key Generation Tool"
VALUE "FileVersion", "1.0.2.0"
VALUE "FileVersion", "1.0.3.0"
VALUE "InternalName", "winrar-keygen.exe"
VALUE "LegalCopyright", "Copyright (C) 2021"
VALUE "OriginalFilename", "winrar-keygen.exe"
VALUE "ProductName", "WinRAR Keygen"
VALUE "ProductVersion", "1.0.2.0"
VALUE "ProductVersion", "1.0.3.0"
END
END
BLOCK "VarFileInfo"

View file

@ -31,14 +31,14 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<PlatformToolset>v143</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
<SpectreMitigation>false</SpectreMitigation>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<PlatformToolset>v143</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
<SpectreMitigation>false</SpectreMitigation>
@ -46,14 +46,14 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<PlatformToolset>v143</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
<SpectreMitigation>false</SpectreMitigation>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<PlatformToolset>v143</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
<SpectreMitigation>false</SpectreMitigation>