@@ -63,40 +63,52 @@ jobs:
6363 with :
6464 submodules : true
6565
66+ - name : Download MaaFramework
67+ uses : robinraju/release-downloader@v1
68+ with :
69+ repository : MaaXYZ/MaaFramework
70+ fileName : " MAA-${{ matrix.os }}-${{ matrix.arch }}*"
71+ latest : true
72+ out-file-path : " deps"
73+ extract : true
74+
75+ - name : Install
76+ shell : bash
77+ run : |
78+ python ./install.py ${{ needs.meta.outputs.tag }}
79+
6680 - name : Download MFAWPF
6781 if : ${{ matrix.os == 'win' }}
6882 uses : robinraju/release-downloader@v1
6983 with :
7084 repository : SweetSmellFox/MFAWPF
7185 fileName : " MFAWPF*"
7286 latest : true
73- out-file-path : " install "
87+ out-file-path : " MFAWPF "
7488 extract : true
7589
90+ - name : Install MFAWPF
91+ if : ${{ matrix.os == 'win' }}
92+ shell : bash
93+ run : |
94+ cp MFAWPF/MFAWPF.exe install
95+
7696 - name : Download MFW
77- if : ${{ matrix.os != 'win' && matrix.os != 'android' }}
97+ if : ${{ matrix.os != 'win' }} && ${{ matrix.os != 'android' }}
7898 uses : robinraju/release-downloader@v1
7999 with :
80100 repository : overflow65537/MFW-PyQt6
81101 fileName : " MFW-PyQt6-${{ matrix.os }}-${{ matrix.arch }}*"
82102 latest : true
83- out-file-path : " install"
84- extract : true
85-
86- # 最后再下载MaaFramework,以覆盖 UI 包里带的 MaaFramework
87- - name : Download MaaFramework
88- uses : robinraju/release-downloader@v1
89- with :
90- repository : MaaXYZ/MaaFramework
91- fileName : " MAA-${{ matrix.os }}-${{ matrix.arch }}*"
92- latest : true
93- out-file-path : " deps"
103+ out-file-path : " MFW-PyQt6"
94104 extract : true
95105
96- - name : Install
106+ - name : Install MFW-PyQt6
107+ if : ${{ matrix.os != 'win' }} && ${{ matrix.os != 'android' }}
97108 shell : bash
98109 run : |
99- python ./install.py ${{ needs.meta.outputs.tag }}
110+ rm -rf MFW-PyQt6/MFW_resource/model
111+ cp -r MFW-PyQt6/* install
100112
101113 - uses : actions/upload-artifact@v4
102114 with :
0 commit comments