🌙 Adapt the Github Dark Theme

🌙 Adapt the Github Dark Theme
This commit is contained in:
bitcookies 2022-02-09 16:53:29 +08:00
parent 84a87a407d
commit a032f52ff4
27 changed files with 70 additions and 22 deletions

View file

@ -27,7 +27,7 @@
# "rarreg.key"是如何生成的?
WinRAR使用了基于ECC的签名算法来生成 `rarreg.key` 文件其使用的签名算法是中国SM2数字签名算法的变体。与各种标准ECDSA不同的是WinRAR使用的椭圆曲线是一个基于复合域 ![GF2p15p17-inlined] 上的曲线。
WinRAR 使用了基于 ECC 的签名算法来生成 `rarreg.key` 文件,其使用的签名算法是中国 SM2 数字签名算法的变体。与各种标准 ECDSA 不同的是WinRAR 使用的椭圆曲线是一个基于复合域 ![GF2p15p17-inlined] 上的曲线。
## 1. 复合域 ![GF2p15p17-inlined]

View file

@ -17,11 +17,13 @@
<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>
<img alt="Visitors" src="https://jwenjian-visitor-badge-5.glitch.me/badge?page_id=bitcookies.winrar-keygen" />
</p>
<p align="center">
<a href="README.zh-CN.md">简体中文</a> | <a href="README.md">English</a>
</p>
## 1. What is WinRAR?
WinRAR is a trialware file archiver utility for Windows, developed by Eugene Roshal of win.rar GmbH.
@ -55,7 +57,9 @@ Github Action is a CI/CD tool introduced after Microsoft acquired Github, and yo
**Fork** this repo.
![step-1](assets/actions-step-1.png)
![Fork](assets/fork-light.png#gh-light-mode-only)
![Fork](assets/fork-dark.png#gh-dark-mode-only)
If you've forked before and I've committed new code, but you don't know how to merge the new content into your repository, then you can delete the current fork and fork again.
@ -63,7 +67,9 @@ If you've forked before and I've committed new code, but you don't know how to m
Go to `keygen/info.json` and click on the edit button to edit the file.
![step-2](assets/actions-step-2.png)
![Edit](assets/edit-json-light.png#gh-light-mode-only)
![Edit](assets/edit-json-dark.png#gh-dark-mode-only)
You can see:
@ -93,11 +99,15 @@ If Github Actions does not start automatically, you will need to click on the Ac
Go to **Actions** and select **WinRAR Keygen** to see the status of the program.
![step-3](assets/actions-step-3.png)
![Workflow](assets/push-workflows-light.png#gh-light-mode-only)
![Workflow](assets/push-workflows-dark.png#gh-dark-mode-only)
Green means it ran successfully, yellow means it is running, red means it failed. After running successfully, open the corresponding task and select **rarreg_file** to download.
![step-4](assets/actions-step-4.png)
![Download](assets/file-download-light.png##gh-light-mode-only)
![Download](assets/file-download-dark.png#gh-dark-mode-only)
After extract `rarreg_file.zip`, you will get `rarreg.key`, just drag and drop it into WinRAR.
@ -116,30 +126,44 @@ In order to make Merge and Pull easier for everyone, a new method for using Gith
**Fork** this repo.
![step-1](assets/actions-step-1.png)
![Fork](assets/fork-light.png#gh-light-mode-only)
![Fork](assets/fork-dark.png#gh-dark-mode-only)
### 5.2 Creating Secrets
Go to **Settings > Secrets > New repository secret**:
Go to **Settings > Secrets > Actions > New repository secret**:
![step-2](assets/actions-step-secrets-1.png)
![Secrets](assets/secrets-light.png#gh-light-mode-only)
![Secrets](assets/secrets-dark.png#gh-dark-mode-only)
Create two Secrets named `text1` and `text2` and fill in values:
![step-3](assets/actions-step-secrets-2.png)
![Add Secrets](assets/secrets-add-light.png#gh-light-mode-only)
![Add Secrets](assets/secrets-add-dark.png#gh-dark-mode-only)
Once created, you will see:
![step-4](assets/actions-step-secrets-3.png)
![Secrets Repo](assets/secrets-repo-light.png#gh-light-mode-only)
![Secrets Repo](assets/secrets-repo-dark.png#gh-dark-mode-only)
### 5.3 Run Workflow
Go to **Actions** and select **WinRAR Keygen Secrets** to run Workflow manually:
![step-5](assets/actions-step-secrets-4.png)
![Run](assets/run-workflow-light.png#gh-light-mode-only)
![Run](assets/run-workflow-dark.png#gh-dark-mode-only)
After running successfully, open the corresponding task and select **rarreg_file** to download.
![Download](assets/file-download-light.png##gh-light-mode-only)
![Download](assets/file-download-dark.png#gh-dark-mode-only)
</details>
## 6. Build in Visual Studio

View file

@ -17,11 +17,13 @@
<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>
<img alt="Visitors" src="https://jwenjian-visitor-badge-5.glitch.me/badge?page_id=bitcookies.winrar-keygen" />
</p>
<p align="center">
<a href="README.zh-CN.md">简体中文</a> | <a href="README.md">English</a>
</p>
## 1. WinRAR是什么
WinRAR是一款用于管理压缩包文件的共享软件。其算法由作者尤金·罗谢尔研发享有原创专利。
@ -55,7 +57,9 @@ Github Action 是微软收购 Github 之后推出的 CI/CD 工具,通过以下
点击该项目右上角的 **Fork** 按钮fork 一份代码到你的 Github
![step-1](assets/actions-step-1.png)
![Fork](assets/fork-light.png#gh-light-mode-only)
![Fork](assets/fork-dark.png#gh-dark-mode-only)
如果你之前 fork 过,然后我提交了新的代码,但是你不懂得如何合并新内容到你的仓库,那你也可以删掉当前 fork 的仓库,然后重新 fork 一次。
@ -63,7 +67,9 @@ Github Action 是微软收购 Github 之后推出的 CI/CD 工具,通过以下
进入 `keygen/info.json`,点击编辑按钮,对该文件进行编辑:
![step-2](assets/actions-step-2.png)
![Edit](assets/edit-json-light.png#gh-light-mode-only)
![Edit](assets/edit-json-dark.png#gh-dark-mode-only)
打开该文件,你会发现有以下内容:
@ -93,11 +99,15 @@ Github Action 是微软收购 Github 之后推出的 CI/CD 工具,通过以下
进入 **Actions** 并选择 **WinRAR Keygen** 页面查看程序运行状况:
![step-3](assets/actions-step-3.png)
![Workflow](assets/push-workflows-light.png#gh-light-mode-only)
![Workflow](assets/push-workflows-dark.png#gh-dark-mode-only)
绿色说明运行成功,黄色说明正在运行,红色说明运行失败。运行成功之后,打开对应的任务,选择 **rarreg_file** 下载:
![step-4](assets/actions-step-4.png)
![Download](assets/file-download-light.png##gh-light-mode-only)
![Download](assets/file-download-dark.png#gh-dark-mode-only)
`rarreg_file.zip` 解压缩后会得到 `rarreg.key`,然后拖动导入 WinRAR 即可。
@ -116,31 +126,45 @@ Github Action 是微软收购 Github 之后推出的 CI/CD 工具,通过以下
点击该项目右上角的 **Fork** 按钮fork 一份代码到你的 Github
![step-1](assets/actions-step-1.png)
![Fork](assets/fork-light.png#gh-light-mode-only)
![Fork](assets/fork-dark.png#gh-dark-mode-only)
如果你之前 fork 过,然后我提交了新的代码,但是你不懂得如何合并新内容到你的仓库,那你也可以删掉当前 fork 的仓库,然后重新 fork 一次。
### 5.2 创建 Secrets
进入 **Settings > Secrets > New repository secret** 来创建:
进入 **Settings > Secrets > Actions > New repository secret** 来创建:
![step-2](assets/actions-step-secrets-1.png)
![Secrets](assets/secrets-light.png#gh-light-mode-only)
![Secrets](assets/secrets-dark.png#gh-dark-mode-only)
创建两个 Secrets名称为 `text1``text2`,并填入相关值:
![step-3](assets/actions-step-secrets-2.png)
![Add Secrets](assets/secrets-add-light.png#gh-light-mode-only)
![Add Secrets](assets/secrets-add-dark.png#gh-dark-mode-only)
创建完成后,你将会看到:
![step-4](assets/actions-step-secrets-3.png)
![Secrets Repo](assets/secrets-repo-light.png#gh-light-mode-only)
![Secrets Repo](assets/secrets-repo-dark.png#gh-dark-mode-only)
### 5.3 运行 Workflow
进入 **Actions** 并选择 **WinRAR Keygen Secrets** 来手动执行 Workflow
![step-5](assets/actions-step-secrets-4.png)
![Run](assets/run-workflow-light.png#gh-light-mode-only)
运行成功之后,打开对应的任务,选择 **rarreg_file** 下载。
![Run](assets/run-workflow-dark.png#gh-dark-mode-only)
运行成功之后,打开对应的任务,选择 **rarreg_file** 下载:
![Download](assets/file-download-light.png##gh-light-mode-only)
![Download](assets/file-download-dark.png#gh-dark-mode-only)
</details>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 78 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 75 KiB

BIN
assets/edit-json-dark.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

BIN
assets/edit-json-light.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

BIN
assets/fork-dark.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

BIN
assets/fork-light.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 157 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 132 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 132 KiB

BIN
assets/secrets-add-dark.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

BIN
assets/secrets-dark.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 204 KiB

BIN
assets/secrets-light.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 207 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB