更新 EXE 文件名称为 DirectoryMonitor,并在安装依赖步骤中增加 golang
All checks were successful
Build Windows EXE with Wine (Universal Template) / build (push) Successful in 7m1s

This commit is contained in:
2026-03-16 04:26:19 +08:00
Unverified
parent e6a2386d22
commit e7fa13cd18

View File

@@ -14,7 +14,7 @@ jobs:
# 项目主入口文件
MAIN_SCRIPT: dir_scanner_gui.py
# 生成的 EXE 文件名称 (不带 .exe 后缀)
EXE_NAME: dir_scanner
EXE_NAME: DirectoryMonitor
# 依赖配置文件路径 (通常为 requirements.txt)
REQUIREMENTS_FILE: requirements.txt
# Python 版本号
@@ -30,12 +30,12 @@ jobs:
- name: Checkout Code
uses: actions/checkout@v4
# 步骤 1: 安装必要依赖
# 步骤 1: 安装必要依赖 (增加 golang 供 Gitea Release Action 使用)
- name: Install System Dependencies
run: |
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install -y xvfb wine64 wine32 wine binutils
sudo apt-get install -y xvfb wine64 wine32 wine binutils golang
sudo apt-get clean # 及时清理 apt 缓存节省硬盘空间
# 步骤 2: 在后台持续运行 Xvfb