diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3db136c..bd0553f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,64 +4,52 @@ on: workflow_dispatch: inputs: Reason: - description: 'Reasons for temporary build' + description: 'Reasons for temporary build' required: true - default: 'No reason.Just do it.' + default: 'No reason. Just do it.' push: - branches: - - master - paths-ignore: - - '**/*.md' - - .gitignore - - .editorconfig - - appveyor.yml + branches: + - master + paths-ignore: + - '**/*.md' + - .gitignore + - .editorconfig + - appveyor.yml pull_request: - branches: - - master - paths-ignore: - - '**/*.md' - - .gitignore - - .editorconfig - - appveyor.yml - -env: - # Path to the solution file relative to the root of the project. - SOLUTION_FILE_PATH: . - - # Configuration type to build. - # You can convert this to a build matrix if you need coverage of multiple configuration types. - # https://docs.github.com/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix - #BUILD_CONFIGURATION: [Debug , Release] + branches: + - master + paths-ignore: + - '**/*.md' + - .gitignore + - .editorconfig + - appveyor.yml jobs: build: - name: ${{matrix.BUILD_CONFIGURATION}} - runs-on: windows-lastest + name: Build (${{ matrix.BUILD_CONFIGURATION }}) + runs-on: windows-latest strategy: - matrix: - BUILD_CONFIGURATION: ['Debug', 'Release'] + matrix: + BUILD_CONFIGURATION: [Debug, Release] steps: - - uses: actions/checkout@v2 + - name: Checkout code + uses: actions/checkout@v4 - - name: Add MSBuild to PATH - uses: microsoft/setup-msbuild@v1.0.2 + - name: Setup MSBuild + uses: microsoft/setup-msbuild@v2 - - name: Restore NuGet packages - working-directory: ${{env.GITHUB_WORKSPACE}} - run: nuget restore ${{env.SOLUTION_FILE_PATH}} + - name: Restore NuGet packages + run: nuget restore - - name: Build ${{matrix.BUILD_CONFIGURATION}} - working-directory: ${{env.GITHUB_WORKSPACE}} - # Add additional options to the MSBuild command line here (like platform or verbosity level). - # See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference - run: msbuild /m /p:Configuration=${{matrix.BUILD_CONFIGURATION}} ${{env.SOLUTION_FILE_PATH}} + - name: Build Solution + run: msbuild /m /p:Configuration=${{ matrix.BUILD_CONFIGURATION }} - - name: Upload Artifact - uses: actions/upload-artifact@v4 - with: - name: RevokeMsgPatcher-${{matrix.BUILD_CONFIGURATION}} - path: | - .\RevokeMsgPatcher\bin - !.\RevokeMsgPatcher\bin\**\RevokeMsgPatcher.exe.config - !.\RevokeMsgPatcher\bin\**\RevokeMsgPatcher.pdb + - name: Upload Artifact + uses: actions/upload-artifact@v4 + with: + name: RevokeMsgPatcher-${{ matrix.BUILD_CONFIGURATION }} + path: | + .\RevokeMsgPatcher\bin + !.\RevokeMsgPatcher\bin\**\RevokeMsgPatcher.exe.config + !.\RevokeMsgPatcher\bin\**\RevokeMsgPatcher.pdb diff --git a/README.md b/README.md index 82da56c..7f920b1 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ 下载地址: -**[⚡️点我下载最新版本](https://github.com/huiyadanli/RevokeMsgPatcher/releases/download/2.0/RevokeMsgPatcher.v2.0.zip)** | +**[⚡️点我下载最新版本](https://github.com/huiyadanli/RevokeMsgPatcher/releases/download/2.1/RevokeMsgPatcher.v2.1.zip)** | [☁备用下载-蓝奏云](https://wwmy.lanzouq.com/b0fot7dpe) 密码:coco| [☁备用下载-百度云](https://pan.baidu.com/s/15ilr78t8F1-VW8eUZSkr_Q?pwd=3rrj) @@ -61,11 +61,13 @@ 本项目早期内容源自 [wechat_anti_revoke](https://github.com/36huo/wechat_anti_revoke) 项目。 -QQNT 防撤回依赖于 [LiteLoaderQQNT](https://github.com/LiteLoaderQQNT/LiteLoaderQQNT),修补依赖于 [DLLHijackMethod](https://github.com/LiteLoaderQQNT/QQNTFileVerifyPatch/tree/DLLHijackMethod) 并集成了以下插件: +2.0 之前版本 QQNT 防撤回依赖于 [LiteLoaderQQNT](https://github.com/LiteLoaderQQNT/LiteLoaderQQNT),修补依赖于 [DLLHijackMethod](https://github.com/LiteLoaderQQNT/QQNTFileVerifyPatch/tree/DLLHijackMethod) 并集成了以下插件: * [插件列表查看 LL-plugin-list-viewer](https://github.com/ltxhhz/LL-plugin-list-viewer) * [防撤回 LiteLoaderQQNT-Anti-Recall](https://github.com/xh321/LiteLoaderQQNT-Anti-Recall) +2.1 版本的 QQNTT 防撤回特征来自 [NTQQAntiRecall]( https://github.com/NapNeko/NTQQAntiRecall) + 微信4.0版本后的防撤回特征来自于 [BetterWX](https://github.com/zetaloop/BetterWX) ## ❤️投喂