修复已知bug和优化使用体验
This commit is contained in:
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
@@ -42,11 +42,10 @@ jobs:
|
||||
pip install pyinstaller
|
||||
|
||||
# 第4步:使用PyInstaller打包
|
||||
# --noconsole: 这是一个GUI应用,不显示控制台窗口
|
||||
# --onefile: 打包成单个.exe文件
|
||||
# --onefile: 打包成单个可执行文件
|
||||
# --name: 指定生成的可执行文件名
|
||||
- name: Build with PyInstaller
|
||||
run: pyinstaller --noconsole --onefile --name "AI-Essay-Corrector" main.py
|
||||
run: pyinstaller --onefile --name "AI-Essay-Corrector" main.py
|
||||
|
||||
# 第5步:将打包好的上传,以便在工作流页面下载 (适合测试)
|
||||
- name: Upload artifact for testing
|
||||
@@ -60,4 +59,4 @@ jobs:
|
||||
if: startsWith(github.ref, 'refs/tags/') # 仅在创建Tag时运行此步骤
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
files: dist/AI-Essay-Corrector*
|
||||
files: dist/AI-Essay-Corrector*
|
||||
|
||||
Reference in New Issue
Block a user