From c0b6f7e8d1f38ad6d72cc36c322ace93ce91c338 Mon Sep 17 00:00:00 2001 From: wsxyt Date: Mon, 12 Jan 2026 01:18:43 +0800 Subject: [PATCH] =?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 | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/.github/workflows/build-unified.yml b/.github/workflows/build-unified.yml index 1928e678..2a13b2a5 100644 --- a/.github/workflows/build-unified.yml +++ b/.github/workflows/build-unified.yml @@ -178,31 +178,6 @@ jobs: Compress-Archive -Path zip_dist/SecRandom/* -DestinationPath $outputZip -Force echo "目录模式打包完成: $outputZip" - # Inno Setup 打包 - - name: Inno Setup 打包 - if: matrix.platform == 'windows' - run: | - echo "开始 Inno Setup 打包..." - - # 确保构建输出目录存在 - if (!(Test-Path "build")) { - mkdir build - } - - # 运行 Inno Setup 编译器 - & "C:\Program Files (x86)\Inno Setup 6\ISCC.exe" SRsetup.iss - - # 检查安装程序是否生成并移动到 zip 目录 - if (Test-Path "build/SecRandom setup x64.exe") { - # 修改文件名以包含版本号,方便识别 - $setupName = "SecRandom-setup-${{ github.ref_name }}-${{ matrix.arch }}.exe" - Move-Item "build/SecRandom setup x64.exe" "zip/$setupName" - echo "Inno Setup 打包完成: zip/$setupName" - } else { - echo "错误:Inno Setup 安装程序未生成" - exit 1 - } - # Linux 打包操作 - name: Linux 打包操作 if: matrix.platform == 'linux'