From 1ec898742818c2835631e34ad1a09ef961843c20 Mon Sep 17 00:00:00 2001 From: jimmy-sketch Date: Sat, 6 Dec 2025 22:54:36 +0800 Subject: [PATCH 1/4] =?UTF-8?q?fix(ci):=20=E7=AE=80=E5=8C=96=E6=9E=84?= =?UTF-8?q?=E5=BB=BA=E8=A7=A6=E5=8F=91=E6=9D=A1=E4=BB=B6=E5=B9=B6=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E5=9B=BE=E6=A0=87=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 移除基于标签的构建触发条件,仅保留提交消息触发 更新Windows可执行文件图标路径从data/到resources/ --- .github/workflows/build-unified.yml | 6 ++---- Secrandom.spec | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-unified.yml b/.github/workflows/build-unified.yml index 4a1ca9e2..289f66d9 100644 --- a/.github/workflows/build-unified.yml +++ b/.github/workflows/build-unified.yml @@ -119,8 +119,7 @@ jobs: - name: 运行 Windows PyInstaller 构建 if: | matrix.platform == 'windows' && - (contains(github.event.head_commit.message, '开始打包') || - startsWith(github.ref, 'refs/tags/v')) + (contains(github.event.head_commit.message, '开始打包') run: | echo "开始 Windows PyInstaller 构建流程..." echo "使用uv进行依赖同步..." @@ -132,8 +131,7 @@ jobs: - name: 运行 Linux PyInstaller 构建 if: | matrix.platform == 'linux' && - (contains(github.event.head_commit.message, '开始打包') || - startsWith(github.ref, 'refs/tags/v')) + (contains(github.event.head_commit.message, '开始打包') run: | echo "开始 Linux PyInstaller 构建流程..." echo "使用uv进行依赖同步..." diff --git a/Secrandom.spec b/Secrandom.spec index 12adad9c..11ae5761 100644 --- a/Secrandom.spec +++ b/Secrandom.spec @@ -75,7 +75,7 @@ exe = EXE( target_arch=None, codesign_identity=None, entitlements_file=None, - icon="data/secrandom-icon-paper.ico", + icon="resources/secrandom-icon-paper.ico", ) # 创建目录模式输出 From 6188622ef6c6eedafe743039f89d71272f6af823 Mon Sep 17 00:00:00 2001 From: jimmy-sketch Date: Sat, 6 Dec 2025 22:56:43 +0800 Subject: [PATCH 2/4] =?UTF-8?q?=E5=BC=80=E5=A7=8B=E6=89=93=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Secrandom.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/Secrandom.spec b/Secrandom.spec index 11ae5761..def4e2c6 100644 --- a/Secrandom.spec +++ b/Secrandom.spec @@ -89,3 +89,4 @@ coll = COLLECT( upx_exclude=[], name="SecRandom", ) +#nothing From 202eb8d87b36ad829a2916758f73f22ec8358931 Mon Sep 17 00:00:00 2001 From: jimmy-sketch Date: Sat, 6 Dec 2025 22:58:58 +0800 Subject: [PATCH 3/4] =?UTF-8?q?=E5=BC=80=E5=A7=8B=E6=89=93=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-unified.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-unified.yml b/.github/workflows/build-unified.yml index 289f66d9..b3b978b2 100644 --- a/.github/workflows/build-unified.yml +++ b/.github/workflows/build-unified.yml @@ -119,7 +119,7 @@ jobs: - name: 运行 Windows PyInstaller 构建 if: | matrix.platform == 'windows' && - (contains(github.event.head_commit.message, '开始打包') + contains(github.event.head_commit.message, '开始打包') run: | echo "开始 Windows PyInstaller 构建流程..." echo "使用uv进行依赖同步..." @@ -131,7 +131,7 @@ jobs: - name: 运行 Linux PyInstaller 构建 if: | matrix.platform == 'linux' && - (contains(github.event.head_commit.message, '开始打包') + contains(github.event.head_commit.message, '开始打包' run: | echo "开始 Linux PyInstaller 构建流程..." echo "使用uv进行依赖同步..." From 7f5005d58f417c0eadab8d395adb027bf162f811 Mon Sep 17 00:00:00 2001 From: jimmy-sketch Date: Sat, 6 Dec 2025 22:59:21 +0800 Subject: [PATCH 4/4] =?UTF-8?q?=E5=BC=80=E5=A7=8B=E6=89=93=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-unified.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-unified.yml b/.github/workflows/build-unified.yml index b3b978b2..40bd75a3 100644 --- a/.github/workflows/build-unified.yml +++ b/.github/workflows/build-unified.yml @@ -131,7 +131,7 @@ jobs: - name: 运行 Linux PyInstaller 构建 if: | matrix.platform == 'linux' && - contains(github.event.head_commit.message, '开始打包' + contains(github.event.head_commit.message, '开始打包') run: | echo "开始 Linux PyInstaller 构建流程..." echo "使用uv进行依赖同步..."