📘 Usage Summary Details

This commit is contained in:
bitcookies
2026-04-05 22:24:41 +08:00
parent 309a5642d6
commit 49209b47b2
2 changed files with 23 additions and 5 deletions
+11 -4
View File
@@ -192,6 +192,7 @@ Extract `rarreg_file.zip` to get `rarreg.7z`, unzip it with the password to get
<details>
<summary>Click to expand</summary>
If you don't want to compile it yourself, you can also go to the [release](https://github.com/bitcookies/winrar-keygen/releases/) page to get `winrar-keygen.exe`.
### 6.1 Prerequisites
@@ -222,13 +223,10 @@ If you don't want to compile it yourself, you can also go to the [release](https
$ vcpkg integrate install
```
### 6.2 Build
1. Open this project in **Visual Studio**.
2. Select **Release** configuration.
3. Select **Build > Build Solution**.
You will see executable files in `bin/` directory.
@@ -315,6 +313,9 @@ Generate an ASCII-encoded license and output it only to the console.
## 7. Use GUI
<details>
<summary>Click to expand</summary>
If you are using Windows 10 or 11, you can use the GUI application, which is built using .NET 8 WPF and Fluent Design (WPF UI) and supports both `x64` and `ARM 64` architectures.
You can obtain the project from the [gui](https://github.com/bitcookies/winrar-keygen/tree/gui) branch and build the GUI application yourself. For more detailed information, please refer to the [README](https://github.com/bitcookies/winrar-keygen/blob/gui/README.md) in that branch.
@@ -323,8 +324,13 @@ You can obtain the project from the [gui](https://github.com/bitcookies/winrar-k
![GUI](assets/gui-dark.png#gh-dark-mode-only)
</details>
## 8. Build with CMake
<details>
<summary>Click to expand</summary>
For Linux or macOS users, you can use `build.yml` on the Actions page to build automatically, or you can compile it manually.
### 8.1 Linux (Ubuntu/Debian)
@@ -360,6 +366,8 @@ cmake --build . --config Release
The output is always `build/winrar-keygen`, and the version number is controlled by `APP_VERSION` in `CMakeLists.txt`.
</details>
## 9. Common Errors
### 9.1 Keygen Errors
@@ -378,7 +386,6 @@ If you encounter an error while using `ascii` encoding, it is because you are us
If you encounter an error while using `ansi` encoding, it is because the character encoding is not supported by the current Windows system. The system platform for GitHub Actions is `windows-2022-english` (ANSI code page 1252), and any non-ASCII characters will cause the process to fail.
## 10. Contributing
### 10.1 Suggestion
+12 -1
View File
@@ -22,7 +22,7 @@ WinRAR 是一款用于管理压缩包文件的共享软件。其算法由作者
WinRAR 不是免费软件。如果你想使用它,你应当向 [**RARLAB**](https://www.rarlab.com/) 付费,然后获得一个授权文件 `rarreg.key`
这份 repo 将会告诉你 `rarreg.key` 是如何生成的。
这份 repo 将会告诉你 `"rarreg.key"` 是如何生成的。
## 2. "rarreg.key"是如何生成的?
@@ -192,6 +192,7 @@ WinRAR license 有 `rarreg.key` 和 `rarkey.rar` 两种类型,它们仅在导
<details>
<summary>点击展开</summary>
如果你不想自行编译,也可以到 [Release](https://github.com/bitcookies/winrar-keygen/releases/) 页面获取对应版本的 `winrar-keygen.exe`
### 6.1 前提条件
@@ -310,6 +311,9 @@ dd4ab952600ba16a99236d910bfa995d5f60651ec451f462511507
## 7. 使用 GUI
<details>
<summary>Click to expand</summary>
如果你正在使用 Windows 10 / 11,你可以使用 GUI 程序,它基于 .NET 8 WPF 和 Fluent Design (WPF UI) 构建,提供 `x64` 和 `ARM 64` 两种架构支持。
你可以在 [gui](https://github.com/bitcookies/winrar-keygen/tree/gui) 分支中获取项目,并自行构建 GUI 程序。更详细的信息请查看分支 [README](https://github.com/bitcookies/winrar-keygen/blob/gui/README.zh-CN.md)。
@@ -318,8 +322,13 @@ dd4ab952600ba16a99236d910bfa995d5f60651ec451f462511507
![GUI](assets/gui-dark.png#gh-dark-mode-only)
</details>
## 8. 通过 Cmake 编译使用
<details>
<summary>Click to expand</summary>
对于 Linux 或 macOS 用户,你可以在 Actions 页面用 `build.yml` 自动构建,也可以自行编译。
### 8.1 Linux (Ubuntu/Debian)
@@ -355,6 +364,8 @@ cmake --build . --config Release
产物都是 `build/winrar-keygen`,版本号由 `CMakeLists.txt` 中的 `APP_VERSION` 控制。
</details>
## 9. 常见错误
### 9.1 Keygen 错误