From 3fd431691e5424cd45b066b89a725acd56c1b6aa Mon Sep 17 00:00:00 2001 From: Eric-Terminal <121368508+Eric-Terminal@users.noreply.github.com> Date: Mon, 4 Aug 2025 02:10:04 +0800 Subject: [PATCH] feat: Add app icon and update workflow --- .github/workflows/build-windows.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-windows.yml b/.github/workflows/build-windows.yml index f0129bd..13d2833 100644 --- a/.github/workflows/build-windows.yml +++ b/.github/workflows/build-windows.yml @@ -41,7 +41,7 @@ jobs: # --add-data: 将 config.json 文件包含到exe中 # --name: 指定生成的可执行文件名 - name: Build with PyInstaller - run: pyinstaller --noconsole --onefile --name "AI-Essay-Corrector" --add-data "config.json;." main.py + run: pyinstaller --noconsole --onefile --name "AI-Essay-Corrector" --icon="icon.ico" --add-data "config.json;." main.py # 第5步:将打包好的.exe上传,以便在工作流页面下载 (适合测试) - name: Upload artifact for testing