diff --git a/.github/workflows/build-unified.yml b/.github/workflows/build-unified.yml index 4a1ca9e2..40bd75a3 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..def4e2c6 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", ) # 创建目录模式输出 @@ -89,3 +89,4 @@ coll = COLLECT( upx_exclude=[], name="SecRandom", ) +#nothing