Skip to content

Commit a7b5ab0

Browse files
authored
Merge pull request #59 from SECTL/develop
修复Windows CI
2 parents a516388 + 7f5005d commit a7b5ab0

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

.github/workflows/build-unified.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,7 @@ jobs:
119119
- name: 运行 Windows PyInstaller 构建
120120
if: |
121121
matrix.platform == 'windows' &&
122-
(contains(github.event.head_commit.message, '开始打包') ||
123-
startsWith(github.ref, 'refs/tags/v'))
122+
contains(github.event.head_commit.message, '开始打包')
124123
run: |
125124
echo "开始 Windows PyInstaller 构建流程..."
126125
echo "使用uv进行依赖同步..."
@@ -132,8 +131,7 @@ jobs:
132131
- name: 运行 Linux PyInstaller 构建
133132
if: |
134133
matrix.platform == 'linux' &&
135-
(contains(github.event.head_commit.message, '开始打包') ||
136-
startsWith(github.ref, 'refs/tags/v'))
134+
contains(github.event.head_commit.message, '开始打包')
137135
run: |
138136
echo "开始 Linux PyInstaller 构建流程..."
139137
echo "使用uv进行依赖同步..."

Secrandom.spec

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ exe = EXE(
7575
target_arch=None,
7676
codesign_identity=None,
7777
entitlements_file=None,
78-
icon="data/secrandom-icon-paper.ico",
78+
icon="resources/secrandom-icon-paper.ico",
7979
)
8080

8181
# 创建目录模式输出
@@ -89,3 +89,4 @@ coll = COLLECT(
8989
upx_exclude=[],
9090
name="SecRandom",
9191
)
92+
#nothing

0 commit comments

Comments
 (0)