更新工作流和 gitignore 文件
This commit is contained in:
1
.github/workflows/build-windows.yml
vendored
1
.github/workflows/build-windows.yml
vendored
@@ -44,6 +44,7 @@ jobs:
|
||||
# --add-data: 将 config.json 文件包含到exe中
|
||||
# --name: 指定生成的可执行文件名
|
||||
- name: Build with PyInstaller
|
||||
shell: cmd
|
||||
run: pyinstaller --noconsole --onefile --name "AI-Essay-Corrector" --add-data "config.json;." main.py
|
||||
|
||||
# 第5步:将打包好的.exe上传,以便在工作流页面下载 (适合测试)
|
||||
|
||||
Reference in New Issue
Block a user