🎉 v2.0.2

release v2.0.2
This commit is contained in:
BitCookies 2021-12-09 23:09:22 +08:00 committed by bitcookies
parent f68da393e9
commit 60c3ded5a0
14 changed files with 15 additions and 14 deletions

View file

@ -30,7 +30,7 @@ jobs:
- name: Generate key - name: Generate key
shell: powershell shell: powershell
run: bin/x64-Release/winrar-keygen.exe ${{steps.text1.outputs.prop}} ${{steps.text2.outputs.prop}} > rarreg.key run: bin/x64-Release/winrar-keygen.exe ${{steps.text1.outputs.prop}} ${{steps.text2.outputs.prop}} | out-file -encoding ascii rarreg.key
- name: Upload key - name: Upload key
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2

Binary file not shown.

Binary file not shown.

View file

@ -36,9 +36,7 @@ This repository will tell you how WinRAR license file `"rarreg.key"` is generate
See [here](README.HOW_DOES_IT_WORK.md). See [here](README.HOW_DOES_IT_WORK.md).
## 3. Use Github Actions(Error found) ## 3. Use Github Actions
2021.12.9 **A bug was found that caused the key generated by Github Actions to be invalid as well, and is being investigated**
Github Action is a CI/CD tool introduced after Microsoft acquired Github, and you can run programs on GitHub Action by following these steps. Github Action is a CI/CD tool introduced after Microsoft acquired Github, and you can run programs on GitHub Action by following these steps.
@ -150,6 +148,8 @@ Example:
winrar-keygen.exe "Github" "Github.com" winrar-keygen.exe "Github" "Github.com"
or: or:
winrar-keygen.exe "Github" "Github.com" > rarreg.key winrar-keygen.exe "Github" "Github.com" > rarreg.key
or:
winrar-keygen.exe "Github" "Github.com" > rarreg.key | out-file -encoding ascii rarreg.key
``` ```
![Terminal](assets/terminal.png) ![Terminal](assets/terminal.png)

View file

@ -36,9 +36,7 @@ WinRAR不是免费软件。如果你想使用它你应当向 [__RARLAB__](htt
见 [这里](README.HOW_DOES_IT_WORK.zh-CN.md)。 见 [这里](README.HOW_DOES_IT_WORK.zh-CN.md)。
## 3. 通过 Github Actions 使用(发现错误) ## 3. 通过 Github Actions 使用
2021.12.9 **发现了一个错误导致Github Actions生成的key也是无效的正在排查中**
Github Action 是微软收购 Github 之后推出的 CI/CD 工具,通过以下步骤即可在 GitHub Action 上运行程序: Github Action 是微软收购 Github 之后推出的 CI/CD 工具,通过以下步骤即可在 GitHub Action 上运行程序:
@ -146,6 +144,8 @@ Example:
winrar-keygen.exe "Github" "Github.com" winrar-keygen.exe "Github" "Github.com"
or: or:
winrar-keygen.exe "Github" "Github.com" > rarreg.key winrar-keygen.exe "Github" "Github.com" > rarreg.key
or:
winrar-keygen.exe "Github" "Github.com" > rarreg.key | out-file -encoding ascii rarreg.key
``` ```
![Terminal](assets/terminal.png) ![Terminal](assets/terminal.png)

View file

@ -15,6 +15,8 @@ void Help() {
_putts(TEXT(" winrar-keygen.exe \"Github\" \"Github.com\"")); _putts(TEXT(" winrar-keygen.exe \"Github\" \"Github.com\""));
_putts(TEXT(" or:")); _putts(TEXT(" or:"));
_putts(TEXT(" winrar-keygen.exe \"Github\" \"Github.com\" > rarreg.key\n")); _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"));
} }
void PrintRegisterInfo(const WinRarKeygen<WinRarConfig>::RegisterInfo& Info) { void PrintRegisterInfo(const WinRarKeygen<WinRarConfig>::RegisterInfo& Info) {
@ -71,4 +73,3 @@ int _tmain(int argc, PTSTR argv[]) {
} }
return 0; return 0;
} }

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -1,4 +1,4 @@
{ {
"text1": "Github", "text1": "Github",
"text2": "GithubTeam" "text2": "Github.com"
} }

Binary file not shown.

View file

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