diff --git a/.github/workflows/build-exe.yml b/.github/workflows/build-exe.yml index a132e0e..d04e4ff 100644 --- a/.github/workflows/build-exe.yml +++ b/.github/workflows/build-exe.yml @@ -13,10 +13,12 @@ jobs: uses: actions/checkout@v4 # 步骤 1: 安装必要依赖 (Wine 和 Xvfb) + # 增加 i386 架构支持以解决某些安装程序无法运行的问题 - name: Install System Dependencies run: | + sudo dpkg --add-architecture i386 sudo apt-get update - sudo apt-get install -y xvfb wine64 wine binutils + sudo apt-get install -y xvfb wine64 wine32 wine binutils sudo apt-get clean # 及时清理 apt 缓存节省硬盘空间 # 步骤 2: 下载 Python Windows 安装包