From 8addd51cc7bd6e47e99fd1ff53575ea4f1c4dd6a Mon Sep 17 00:00:00 2001 From: PuqiAR Date: Sun, 4 Jan 2026 01:19:48 +0800 Subject: [PATCH] =?UTF-8?q?[CI]=20Linux=E5=AE=89=E8=A3=85=E5=99=A8?= =?UTF-8?q?=E5=B0=9D=E8=AF=95=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/build.yml | 6 +----- Installer/ConsoleInstaller/requirements.txt | 3 +-- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index caeafd1..2c8d7d3 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -52,11 +52,7 @@ jobs: echo "开始构建Linux安装器..." cd Installer/ConsoleInstaller - # 确保pip已安装 - if ! command -v pip3 &> /dev/null; then - echo "安装pip3..." - apt-get update && apt-get install -y python3-pip - fi + # 安装依赖并构建 pip3 install --upgrade pip pip3 install -r requirements.txt diff --git a/Installer/ConsoleInstaller/requirements.txt b/Installer/ConsoleInstaller/requirements.txt index 1bd1e34..a7d1e7e 100644 --- a/Installer/ConsoleInstaller/requirements.txt +++ b/Installer/ConsoleInstaller/requirements.txt @@ -1,4 +1,3 @@ requests tqdm -pyinstaller -json +pyinstaller \ No newline at end of file