创建全新模块化架构

This commit is contained in:
DLmaster
2024-12-28 23:31:50 +08:00
parent c7072da81d
commit b7a2b045fb
74 changed files with 3724 additions and 3179 deletions

View File

@@ -22,7 +22,7 @@ name: Build AUTO_MAA
on:
push:
branches: [ "main" ]
branches: [ "main", "Dev" ]
paths-ignore:
- '**.md'
- 'LICENSE'
@@ -72,6 +72,7 @@ jobs:
- name: Built with pyinstaller
id: built_with_pyinstaller
run: |
copy app\utils\package.py .\
python package.py
- name: Read version
id: read_version
@@ -83,12 +84,12 @@ jobs:
- name: Create Zip
id: create_zip
run: |
move gui\ico\AUTO_MAA_Updater.ico .\
Compress-Archive -Path gui,res,AUTO_MAA.py,Updater.py,package.py,dist/AUTO_MAA.exe,requirements.txt,README.md,LICENSE -DestinationPath AUTO_MAA_${{ env.AUTO_MAA_version }}.zip
del gui\ui\main.ui
del gui\ico\AUTO_MAA.ico
move AUTO_MAA_Updater.ico gui\ico
Compress-Archive -Path gui,dist/Updater.exe -DestinationPath Updater_${{ env.updater_version }}.zip
move resources\icons\AUTO_MAA_Updater.ico .\
Compress-Archive -Path app,resources,main.py,AUTO_MAA.exe,requirements.txt,README.md,LICENSE -DestinationPath AUTO_MAA_${{ env.AUTO_MAA_version }}.zip
del resources\gui\main.ui
del resources\icons\AUTO_MAA.ico
move AUTO_MAA_Updater.ico resources\icons
Compress-Archive -Path Updater.exe -DestinationPath Updater_${{ env.updater_version }}.zip
- name: Upload Artifact
uses: actions/upload-artifact@v4
with: