更新 .github/workflows/build-exe.yml

This commit is contained in:
2026-03-16 03:35:03 +08:00
Unverified
parent a4f286f55a
commit 61930b49d7

View File

@@ -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 安装包