Skip to content
This repository has been archived by the owner on Dec 22, 2024. It is now read-only.

Commit

Permalink
Merge pull request #157 from maboloshi/patch-1
Browse files Browse the repository at this point in the history
在`CI.yml`中添加自动生成并上传附件验证文件`sha256sum`
  • Loading branch information
Light authored Oct 21, 2023
2 parents ad016e4 + e81f687 commit 882517b
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,21 +70,25 @@ jobs:
run: |
7z a -mx9 "./Build/app.7z" "./Build/app.asar"
Compress-Archive -Path "./Build/app.asar" -DestinationPath "./Build/app.zip"
- name: Generate sha256sum file
shell: pwsh
run: |
Get-FileHash -Algorithm SHA256 -Path "./Build/app.7z", "./Build/app.zip" | ForEach-Object { "$($_.Path | Split-Path -Leaf): $($_.Hash)" } | Out-File -FilePath "./Build/sha256sum"
- name: Create Release
uses: ncipollo/release-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
name: Clash for Windows v${{ steps.get_tag.outputs.tag }} 汉化补丁
prerelease: false
draft: false
artifacts: "./Build/app.7z,./Build/app.zip"
artifacts: "./Build/app.7z,./Build/app.zip,./Build/sha256sum"
body: |
[![](https://img.shields.io/badge/Channel-blue?label=Telegram&logo=telegram)](https://t.me/ClashR_for_Windows_Channel) [![](https://img.shields.io/badge/Group-green?label=Telegram&logo=telegram)](https://t.me/+Se4RSc06w8QK1HiS)
⚠️汉化永久免费,请注意欺诈!!!
## 汉化方法:
下载 `app.7z` 或 `app.zip` 文件(*两个压缩包内容一样*)后,解压压缩包,请自行替换下列路径中的 `app.asar` 文件
`Clash for Windows\resources\app.asar`
Expand Down

0 comments on commit 882517b

Please sign in to comment.