Skip to content

Commit

Permalink
v2.0.2
Browse files Browse the repository at this point in the history
v2.0.2 fix
  • Loading branch information
bitcookies committed Dec 9, 2021
1 parent 80c3b99 commit 9afaa37
Show file tree
Hide file tree
Showing 14 changed files with 15 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:

- name: Generate key
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
uses: actions/upload-artifact@v2
Expand Down
Binary file modified .vs/winrar-keygen/v17/.suo
Binary file not shown.
Binary file modified .vs/winrar-keygen/v17/Browse.VC.db
Binary file not shown.
Binary file modified .vs/winrar-keygen/v17/ipch/AutoPCH/668bd2139634a6e1/_TMAIN.ipch
Binary file not shown.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).

## 3. Use Github Actions(Error found)

2021.12.9 **A bug was found that caused the key generated by Github Actions to be invalid as well, and is being investigated**
## 3. Use Github Actions

Github Action is a CI/CD tool introduced after Microsoft acquired Github, and you can run programs on GitHub Action by following these steps.

Expand Down Expand Up @@ -150,6 +148,8 @@ Example:
winrar-keygen.exe "Github" "Github.com"
or:
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)
Expand Down
6 changes: 3 additions & 3 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,7 @@ WinRAR不是免费软件。如果你想使用它,你应当向 [__RARLAB__](htt

[这里](README.HOW_DOES_IT_WORK.zh-CN.md)

## 3. 通过 Github Actions 使用(发现错误)

2021.12.9 **发现了一个错误,导致Github Actions生成的key也是无效的,正在排查中**
## 3. 通过 Github Actions 使用

Github Action 是微软收购 Github 之后推出的 CI/CD 工具,通过以下步骤即可在 GitHub Action 上运行程序:

Expand Down Expand Up @@ -146,6 +144,8 @@ Example:
winrar-keygen.exe "Github" "Github.com"
or:
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)
Expand Down
5 changes: 3 additions & 2 deletions _tmain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ void Help() {
_putts(TEXT(" winrar-keygen.exe \"Github\" \"Github.com\""));
_putts(TEXT(" or:"));
_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) {
Expand Down Expand Up @@ -70,5 +72,4 @@ int _tmain(int argc, PTSTR argv[]) {
Help();
}
return 0;
}

}
Binary file modified bin/Win32-Release/winrar-keygen.exe
Binary file not shown.
Binary file modified bin/Win32-Release/winrar-keygen.pdb
Binary file not shown.
Binary file modified bin/x64-Release/winrar-keygen.exe
Binary file not shown.
Binary file modified bin/x64-Release/winrar-keygen.pdb
Binary file not shown.
2 changes: 1 addition & 1 deletion keygen/info.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"text1": "Github",
"text2": "GithubTeam"
"text2": "Github.com"
}
Binary file modified winrar-keygen.aps
Binary file not shown.
8 changes: 4 additions & 4 deletions winrar-keygen.rc
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ IDI_ICON1 ICON "icon.ico"
//

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

0 comments on commit 9afaa37

Please sign in to comment.