📘 Updated Description

This commit is contained in:
bitcookies 2024-05-18 14:15:41 +08:00
parent c4fe0a1838
commit 04f1990048
2 changed files with 18 additions and 10 deletions

View file

@ -266,7 +266,7 @@ Example:
Now you can see the newly generated file. Now you can see the newly generated file.
```shell ```console
RAR registration data RAR registration data
Github Github
Single PC usage license Single PC usage license
@ -286,7 +286,7 @@ Save the generated information in **ANSI encoding** as `rarreg.key`.
Execute the following code in the terminal and configure two paramet Execute the following code in the terminal and configure two paramet
When using ANSI encoding, you can only use characters from the country or region where your operating system is located. ANSI encoding is supported from Powershell 7.4 onwards, and you will also need to [upgrade your Powershell](https://learn.microsoft.com/en-us/powershell/ scripting/install/installing-powershell-on-windows?view=powershell-7.4). When using ANSI encoding, you can only use characters from the country or region where your operating system is located. ANSI encoding is supported from Powershell 7.4 onwards, and you will also need to [upgrade your Powershell](https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-windows?view=powershell-7.4).
Generate multi-language licenses in ANSI encoding. Generate multi-language licenses in ANSI encoding.
@ -330,7 +330,7 @@ winrar-keygen.exe "utf8:한국어" "license" | Out-File -Encoding utf8 rarreg.ke
Why is my `rarreg.key` invalid? Why is my `rarreg.key` invalid?
### 9.1 Incorrect encoding ### 9.1 Character encoding
`TEXT1` and `TEXT2` are required to fulfill [corresponding coding requirements](#4 - coding description). `TEXT1` and `TEXT2` are required to fulfill [corresponding coding requirements](#4 - coding description).
@ -340,7 +340,7 @@ winrar-keygen.exe <TEXT1> <TEXT2>
You can refer to: [Generation of "rarreg.key"](https://github.com/bitcookies/winrar-keygen/blob/master/README.HOW_DOES_IT_WORK.md#7-generation-of-rarregkey) You can refer to: [Generation of "rarreg.key"](https://github.com/bitcookies/winrar-keygen/blob/master/README.HOW_DOES_IT_WORK.md#7-generation-of-rarregkey)
### 9.2 Key encoding ### 9.2 Text encoding
If you use the following command: If you use the following command:
@ -353,7 +353,11 @@ In the newer Windows 10, PowerShell will export in **UTF16-LE** format by defaul
Please use the following command: Please use the following command:
```shell ```shell
winrar-keygen.exe "Github" "Github.com" | Out-File -Encoding ASCII rarreg.key winrar-keygen.exe "Github" "Github.com" | Out-File -Encoding ascii rarreg.key
winrar-keygen.exe "Github" "Github.com" | Out-File -Encoding ansi rarreg.key
winrar-keygen.exe "utf8:Github" "Github.com" | Out-File -Encoding utf8 rarreg.key
``` ```
## 10. Contributing ## 10. Contributing

View file

@ -129,7 +129,7 @@ C:\Users\yourname\AppData\Roaming\WinRAR\rarreg.key
<details> <details>
<summary>点击展开</summary> <summary>点击展开</summary>
使用 [Secrets](https://docs.github.com/en/actions/security-guides/encrypted-secrets) 可以帮助你隐藏 license 信息。 使用 [secrets](https://docs.github.com/en/actions/security-guides/encrypted-secrets) 可以帮助你隐藏 license 信息。
### 7.1 Fork ### 7.1 Fork
@ -261,7 +261,7 @@ Example:
现在你可以看到新生成的文件: 现在你可以看到新生成的文件:
```shell ```console
RAR registration data RAR registration data
Github Github
Single PC usage license Single PC usage license
@ -323,7 +323,7 @@ winrar-keygen.exe "utf8:한국어" "license" | Out-File -Encoding utf8 rarreg.ke
为什么我生成的 `rarreg.key` 是无效的? 为什么我生成的 `rarreg.key` 是无效的?
### 9.1 编码不正确 ### 9.1 字符编码不正确
参数 `TEXT1``TEXT2` 需要满足[对应的编码要求](#4-编码说明) 参数 `TEXT1``TEXT2` 需要满足[对应的编码要求](#4-编码说明)
@ -333,7 +333,7 @@ winrar-keygen.exe <TEXT1> <TEXT2>
具体可参考原理文档:[授权文件"rarreg.key"的生成](https://github.com/bitcookies/winrar-keygen/blob/master/README.HOW_DOES_IT_WORK.zh-CN.md#7-%E6%8E%88%E6%9D%83%E6%96%87%E4%BB%B6rarregkey%E7%9A%84%E7%94%9F%E6%88%90) 具体可参考原理文档:[授权文件"rarreg.key"的生成](https://github.com/bitcookies/winrar-keygen/blob/master/README.HOW_DOES_IT_WORK.zh-CN.md#7-%E6%8E%88%E6%9D%83%E6%96%87%E4%BB%B6rarregkey%E7%9A%84%E7%94%9F%E6%88%90)
### 9.2 文件储存编码 ### 9.2 文本储存编码不正确
如果你使用了如下命令: 如果你使用了如下命令:
@ -346,7 +346,11 @@ winrar-keygen.exe "Github" "Single PC usage license" > rarreg.key
请指定输出编码格式,例如: 请指定输出编码格式,例如:
```shell ```shell
winrar-keygen.exe "Github" "Github.com" | Out-File -Encoding ASCII rarreg.key winrar-keygen.exe "Github" "Github.com" | Out-File -Encoding ascii rarreg.key
winrar-keygen.exe "Github" "Github.com" | Out-File -Encoding ansi rarreg.key
winrar-keygen.exe "utf8:Github" "Github.com" | Out-File -Encoding utf8 rarreg.key
``` ```
### 9.3 关于简体中文版 ### 9.3 关于简体中文版