Skip to content

Commit 65192bc

Browse files
committed
更新腾讯电脑管家版本;优化代码
1 parent 9930e00 commit 65192bc

File tree

5 files changed

+14
-9
lines changed

5 files changed

+14
-9
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.exe filter=lfs diff=lfs merge=lfs -text

.github/workflows/build.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ jobs:
1818
executable_file: ${{ steps.environment.outputs.executable_file }}
1919
steps:
2020
- name: Checkout codebase
21-
uses: actions/checkout@main
21+
uses: actions/checkout@v5
2222

2323
- name: Set variables
2424
id: environment
2525
run: |
2626
echo "update_time=$(date -d '+8 hours' +%Y-%m-%d)" >> $GITHUB_OUTPUT
27-
echo "qqpcmgr_version=$(ls *.exe | sed 's/^[^0-9]*//' | sed 's/\..*//' | sed 's/_/\./g')" >> $GITHUB_OUTPUT
27+
echo "qqpcmgr_version=$(ls *.exe | perl -ne '/_([0-9][^\.]+)/ && print "$1"' | sed 's/_/\./g')" >> $GITHUB_OUTPUT
2828
echo "executable_file=$(ls *.exe)" >> $GITHUB_OUTPUT
2929
3030
extract:
@@ -35,7 +35,9 @@ jobs:
3535
executable: ${{ needs.environment.outputs.executable_file }}
3636
steps:
3737
- name: Checkout codebase
38-
uses: actions/checkout@main
38+
uses: actions/checkout@v5
39+
with:
40+
lfs: true
3941

4042
- name: Set locale and language in China
4143
id: extract
@@ -51,7 +53,7 @@ jobs:
5153
Start-Sleep -Seconds 60
5254
shell: pwsh
5355

54-
- name: Update libraries and wating 10s
56+
- name: Update `libraries` and wating 10s
5557
run: |
5658
Start-Process -FilePath "C:\Program Files (x86)\Tencent\QQPCMgr\${{ env.version }}\QMUpdate\QQPCMgrUpdate.exe" -ArgumentList "/datafile /elevated" -Verb RunAs
5759
Start-Sleep -Seconds 10
@@ -150,7 +152,7 @@ jobs:
150152
$bytes = [System.Text.Encoding]::GetEncoding("GB2312").GetBytes($content)
151153
[System.IO.File]::WriteAllBytes("config.txt", $bytes)
152154
153-
- name: Create self-extracting exe and copy files
155+
- name: Create `QQPCSoftMgr.exe` self-extracting exe and copy files
154156
run: |
155157
"%PROGRAMFILES%\WinRAR\WinRAR.exe" a -sfx -z"config.txt" -r QQPCSoftMgr.exe "${{ env.version }}\*"
156158
copy /y QQPCSoftMgr.zip upload_files
@@ -166,7 +168,6 @@ jobs:
166168
with:
167169
name: QQPCSoftMgr
168170
path: upload_files/*
169-
compression-level: 9
170171

171172
push:
172173
runs-on: ubuntu-latest
@@ -178,7 +179,7 @@ jobs:
178179
qqpcmgr_VERSION: ${{ needs.environment.outputs.qqpcmgr_version }}
179180
steps:
180181
- name: Checkout codebase
181-
uses: actions/checkout@main
182+
uses: actions/checkout@v5
182183

183184
- name: Download files from workspace
184185
uses: actions/download-artifact@v5
@@ -204,4 +205,4 @@ jobs:
204205
token: ${{ github.token }}
205206
repository: ${{ github.repository }}
206207
retain_days: 3
207-
keep_minimum_runs: 1
208+
keep_minimum_runs: 1

PCMgr_Setup_15_6_23123_201.exe

-81.2 MB
Binary file not shown.

PCMgr_Setup_15_6_23169_211.exe

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:732f61601f52436231d64870a9b558d7a20fa3ee093857cc4e489c146f66b676
3+
size 112433624

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# 一、 说明
22
1. 每周五下午 6 点(北京时间 UTC+8)自动构建
3-
2. [软件管理](https://pc.qq.com)提取自[腾讯电脑管家](https://guanjia.qq.com) 15.6.23123.201 版本(v15 系列版本已停更
3+
2. [软件管理](https://pc.qq.com)提取自[腾讯电脑管家](https://guanjia.qq.com) v15 系列版本(已停更
44
3. 软件库文件包含 SoftPolicy.etf 和 SoftVerInfo.etf(控制“软件库”版本),以及 GlobalConfig.etf(控制“首页”和“游戏”栏目中的推荐列表)
55

66
# 二、 软件特色

0 commit comments

Comments
 (0)