mirror of
https://github.com/bitcookies/winrar-keygen.git
synced 2026-08-18 21:26:17 +00:00
✨ Project updated to VS 2026
This commit is contained in:
parent
1db88c1ca6
commit
044faee5e1
7 changed files with 26 additions and 24 deletions
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
2
.github/workflows/keygen.yml
vendored
2
.github/workflows/keygen.yml
vendored
|
|
@ -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 }}
|
||||
|
|
|
|||
2
.github/workflows/keygen_secrets.yml
vendored
2
.github/workflows/keygen_secrets.yml
vendored
|
|
@ -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 }}
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
<p align="center">
|
||||
<a href="https://github.com/bitcookies/winrar-keygen/releases"><img src="https://img.shields.io/github/v/release/bitcookies/winrar-keygen?label=version" /></a>
|
||||
<a href="https://github.com/bitcookies/winrar-keygen/issues"><img alt="Issues" src="https://img.shields.io/github/issues/bitcookies/winrar-keygen?color=F48D73" /></a>
|
||||
<img src="https://img.shields.io/badge/Visual%20Studio-2022-5D4298?logo=data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/PjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+PHN2ZyB0PSIxNzI4MTA5NjA3MzUyIiBjbGFzcz0iaWNvbiIgdml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tbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiPjxwYXRoIGQ9Ik03MTguOTMzMzMzIDg1LjMzMzMzM0wzODcuODQgNDE2Ljg1MzMzM2wtMjA5LjA2NjY2Ny0xNjQuNjkzMzMzTDg3LjQ2NjY2NyAyOTguNjY2NjY3djQyNi42NjY2NjZsOTEuNzMzMzMzIDQ2LjUwNjY2NyAyMTAuMzQ2NjY3LTE2NC4yNjY2NjdMNzE5Ljc4NjY2NyA5MzguNjY2NjY3IDkzOC42NjY2NjcgODUwLjM0NjY2N1YxNzAuNjY2NjY3ek0xODYuNDUzMzMzIDYxMC4xMzMzMzNWNDExLjczMzMzM2wxMDQuMTA2NjY3IDEwMy42OHogbTUyNi4wOCA1NS4wNEw1MTQuMTMzMzMzIDUxMmwxOTguNC0xNTMuMTczMzMzeiIgcC1pZD0iNjEyMSIgZmlsbD0iIzk1OWRhNSI+PC9wYXRoPjwvc3ZnPg==" />
|
||||
<a href="https://github.com/bitcookies/winrar-keygen/actions"><img src="https://github.com/bitcookies/winrar-keygen/actions/workflows/keygen.yml/badge.svg" /></a>
|
||||
<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>
|
||||
</p>
|
||||
|
|
@ -14,6 +14,7 @@
|
|||
<a href="README.md">English</a> | <a href="README.zh-CN.md">简体中文</a>
|
||||
</p>
|
||||
|
||||
|
||||
## 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
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
<p align="center">
|
||||
<a href="https://github.com/bitcookies/winrar-keygen/releases"><img src="https://img.shields.io/github/v/release/bitcookies/winrar-keygen?label=version" /></a>
|
||||
<a href="https://github.com/bitcookies/winrar-keygen/issues"><img alt="Issues" src="https://img.shields.io/github/issues/bitcookies/winrar-keygen?color=F48D73" /></a>
|
||||
<img src="https://img.shields.io/badge/Visual%20Studio-2022-5D4298?logo=data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/PjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+PHN2ZyB0PSIxNzI4MTA5NjA3MzUyIiBjbGFzcz0iaWNvbiI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iIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiPjxwYXRoIGQ9Ik03MTguOTMzMzMzIDg1LjMzMzMzM0wzODcuODQgNDE2Ljg1MzMzM2wtMjA5LjA2NjY2Ny0xNjQuNjkzMzMzTDg3LjQ2NjY2NyAyOTguNjY2NjY3djQyNi42NjY2NjZsOTEuNzMzMzMzIDQ2LjUwNjY2NyAyMTAuMzQ2NjY3LTE2NC4yNjY2NjdMNzE5Ljc4NjY2NyA5MzguNjY2NjY3IDkzOC42NjY2NjcgODUwLjM0NjY2N1YxNzAuNjY2NjY3ek0xODYuNDUzMzMzIDYxMC4xMzMzMzNWNDExLjczMzMzM2wxMDQuMTA2NjY3IDEwMy42OHogbTUyNi4wOCA1NS4wNEw1MTQuMTMzMzMzIDUxMmwxOTguNC0xNTMuMTczMzMzeiIgcC1pZD0iNjEyMSIgZmlsbD0iIzk1OWRhNSI+PC9wYXRoPjwvc3ZnPg==" />
|
||||
<a href="https://github.com/bitcookies/winrar-keygen/actions"><img src="https://github.com/bitcookies/winrar-keygen/actions/workflows/keygen.yml/badge.svg" /></a>
|
||||
<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>
|
||||
</p>
|
||||
|
|
@ -14,6 +14,7 @@
|
|||
<a href="README.md">English</a> | <a href="README.zh-CN.md">简体中文</a>
|
||||
</p>
|
||||
|
||||
|
||||
## 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 关于简体中文版
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@
|
|||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<VCProjectVersion>16.0</VCProjectVersion>
|
||||
<VCProjectVersion>18.0</VCProjectVersion>
|
||||
<ProjectGuid>{2443AA55-9534-4451-9BCC-48AC0982A0CC}</ProjectGuid>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
<RootNamespace>winrarkeygen</RootNamespace>
|
||||
|
|
@ -40,14 +40,14 @@
|
|||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v143</PlatformToolset>
|
||||
<PlatformToolset>v145</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<SpectreMitigation>false</SpectreMitigation>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v143</PlatformToolset>
|
||||
<PlatformToolset>v145</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<SpectreMitigation>false</SpectreMitigation>
|
||||
|
|
@ -55,14 +55,14 @@
|
|||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v143</PlatformToolset>
|
||||
<PlatformToolset>v145</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<SpectreMitigation>false</SpectreMitigation>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v143</PlatformToolset>
|
||||
<PlatformToolset>v145</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<SpectreMitigation>false</SpectreMitigation>
|
||||
|
|
@ -70,14 +70,14 @@
|
|||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v143</PlatformToolset>
|
||||
<PlatformToolset>v145</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<SpectreMitigation>false</SpectreMitigation>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v143</PlatformToolset>
|
||||
<PlatformToolset>v145</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<SpectreMitigation>false</SpectreMitigation>
|
||||
|
|
@ -271,4 +271,4 @@
|
|||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
||||
</Project>
|
||||
|
|
|
|||
Loading…
Reference in a new issue