Skip to content

Commit

Permalink
更换项目结构,添加build代码
Browse files Browse the repository at this point in the history
  • Loading branch information
TanyaShue committed Oct 20, 2024
1 parent fc1bcbe commit f6ef04f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,8 @@ jobs:
python -m pip install --upgrade pip
pip install -r requirements.txt # 如果你有 requirements.txt 文件
- name: Build with PyInstaller
run: |
pip install pyinstaller
PyInstaller --onefile --name=MAA_YYS_BACKEND src/task_service.py
PyInstaller --onefile --name=MAA_YYS src/main.py
- name: Run build script
run: python build.py # 使用Python运行build.py

- name: Copy assets
run: |
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -454,4 +454,3 @@ install

# Tools
tools/ImageCropper/**/*.png
/dist/

0 comments on commit f6ef04f

Please sign in to comment.