diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6597187..fa3f09f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,7 +34,7 @@ jobs: windows-x64: if: ${{ inputs.windows_x64 }} name: Windows x64 - runs-on: windows-2022 + runs-on: windows-2025 steps: - uses: actions/checkout@v7.0.0 @@ -46,7 +46,7 @@ jobs: - name: Setup MSBuild uses: microsoft/setup-msbuild@v3 with: - vs-version: '[17.0,18.0)' + vs-version: '[18.0,19.0)' msbuild-architecture: x64 - name: Configure vcpkg @@ -118,7 +118,7 @@ jobs: windows-x86: if: ${{ inputs.windows_x86 }} name: Windows x86 - runs-on: windows-2022 + runs-on: windows-2025 steps: - uses: actions/checkout@v7.0.0 @@ -130,7 +130,7 @@ jobs: - name: Setup MSBuild uses: microsoft/setup-msbuild@v3 with: - vs-version: '[17.0,18.0)' + vs-version: '[18.0,19.0)' msbuild-architecture: x64 - name: Configure vcpkg @@ -202,7 +202,7 @@ jobs: windows-arm64: if: ${{ inputs.windows_arm64 }} name: Windows ARM64 - runs-on: windows-2022 + runs-on: windows-2025 steps: - uses: actions/checkout@v7.0.0 @@ -214,7 +214,7 @@ jobs: - name: Setup MSBuild uses: microsoft/setup-msbuild@v3 with: - vs-version: '[17.0,18.0)' + vs-version: '[18.0,19.0)' msbuild-architecture: x64 - name: Configure vcpkg diff --git a/.github/workflows/keygen.yml b/.github/workflows/keygen.yml index 861cf00..ad44005 100644 --- a/.github/workflows/keygen.yml +++ b/.github/workflows/keygen.yml @@ -22,7 +22,7 @@ on: jobs: keygen: name: Generating License (${{ github.event.inputs.KEY_ENCODING }}) - runs-on: windows-2022 + runs-on: windows-2025 env: KEY_ENCODING: ${{ github.event.inputs.KEY_ENCODING }} KEY_USERNAME: ${{ github.event.inputs.KEY_USERNAME }} diff --git a/.github/workflows/keygen_secrets.yml b/.github/workflows/keygen_secrets.yml index 97efc8e..38173d0 100644 --- a/.github/workflows/keygen_secrets.yml +++ b/.github/workflows/keygen_secrets.yml @@ -11,7 +11,7 @@ on: jobs: keygen: name: Generating License (${{ github.event.inputs.KEY_ENCODING }}) - runs-on: windows-2022 + runs-on: windows-2025 env: KEY_ENCODING: ${{ github.event.inputs.KEY_ENCODING }} KEY_USERNAME: ${{ secrets.TEXT1 }} diff --git a/README.md b/README.md index f55c6cd..24421cd 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@
@@ -14,6 +14,7 @@ English | 简体中文 + ## 1. What is WinRAR? WinRAR is a trialware file archiver utility for Windows, developed by Eugene Roshal of win.rar GmbH. @@ -198,7 +199,7 @@ If you don't want to compile it yourself, you can compile it using [Actions](#7- ### 6.1 Prerequisites -1. Please make sure that you have **Visual Studio 2022**. Because this is a VS2022 project. If you are still using Visual Studio 2019, you can find projects for VS2019 in the [vs2019](https://github.com/bitcookies/winrar-keygen/tree/vs2019) branch, but this branch will no longer be maintained. +1. Please make sure you have **Visual Studio 2026**, as this is a VS2026 project. If you are still using Visual Studio 2022 or 2019, you can find the corresponding projects in the [vs2022](https://github.com/bitcookies/winrar-keygen/tree/vs2022) and [vs2019](https://github.com/bitcookies/winrar-keygen/tree/vs2019) branches. However, these branches are no longer maintained. 2. Please make sure you have installed `vcpkg` and the following libraries: @@ -407,7 +408,7 @@ Starting with `ver4`, Keygen has added some common error messages. Please make c If you encounter an error while using `ascii` encoding, it is because you are using non-ASCII characters. -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. +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-2025-english` (ANSI code page 1252), and any non-ASCII characters will cause the process to fail. ## 11. Contributing diff --git a/README.zh-CN.md b/README.zh-CN.md index fb5e781..7b41bf8 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -6,7 +6,7 @@ @@ -14,6 +14,7 @@ English | 简体中文 + ## 1. WinRAR是什么? WinRAR 是一款用于管理压缩包文件的共享软件。其算法由作者尤金·罗谢尔研发,享有原创专利。 @@ -198,7 +199,7 @@ WinRAR license 有 `rarreg.key` 和 `rarkey.rar` 两种类型,它们仅在导 ### 6.1 前提条件 -1. 请确保你有 **Visual Studio 2022**,因为这是一个 VS2022 项目。如果你仍在使用 Visual Studio 2019,可以在 [vs2019](https://github.com/bitcookies/winrar-keygen/tree/vs2019) 分支中找到适合 VS2019 的项目,但是此分支将不再维护。 +1. 请确保你有 **Visual Studio 2026**,因为这是一个 VS2026 项目。如果你仍在使用 Visual Studio 2022 或 2019,可以在 [vs2022](https://github.com/bitcookies/winrar-keygen/tree/vs2022) 和 [vs2019](https://github.com/bitcookies/winrar-keygen/tree/vs2019) 分支中找到适合的项目,但是此分支将不再维护。 2. 请确保你安装了 `vcpkg` 以及下面几个库: @@ -405,7 +406,7 @@ cmake --build . --config Release 如果你使用 `ascii` 编码时发生了错误,原因是你使用了非 ASCII 字符。 -如果你 `ansi` 编码时发生了错误,原因是因为字符编码不受当前 Windows 系统支持。GitHub Actions 的系统平台是 `windows-2022-english` (ANSI code page 1252),包含非 ASCII 字符都会失败。 +如果你 `ansi` 编码时发生了错误,原因是因为字符编码不受当前 Windows 系统支持。GitHub Actions 的系统平台是 `windows-2025-english` (ANSI code page 1252),包含非 ASCII 字符都会失败。 ### 10.3 关于简体中文版 diff --git a/winrar-keygen.sln b/winrar-keygen.sln index f86b3ef..7c0a861 100644 --- a/winrar-keygen.sln +++ b/winrar-keygen.sln @@ -1,7 +1,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.14.37111.16 +# Visual Studio Version 18 +VisualStudioVersion = 18.8.12023.21 MinimumVisualStudioVersion = 10.0.40219.1 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "winrar-keygen", "winrar-keygen.vcxproj", "{2443AA55-9534-4451-9BCC-48AC0982A0CC}" EndProject diff --git a/winrar-keygen.vcxproj b/winrar-keygen.vcxproj index a2c923e..aa2698f 100644 --- a/winrar-keygen.vcxproj +++ b/winrar-keygen.vcxproj @@ -27,7 +27,7 @@