Skip to content

Commit

Permalink
F | 修复upx压缩部分
Browse files Browse the repository at this point in the history
  • Loading branch information
LxHTT committed Aug 25, 2023
1 parent d8d8fe7 commit 86c5cf3
Showing 1 changed file with 12 additions and 16 deletions.
28 changes: 12 additions & 16 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,22 +72,18 @@ jobs:
- name: Delete Useless Files and Compress with upx
run: |
cd build
cd MCSL2.dist
cmd /K rmdir /s /q certifi
cmd /K rmdir /s /q zstandard
cmd /K del /f /q _asyncio.pyd
cmd /K del /f /q _multiprocessing.pyd
cmd /K del /f /q _queue.pyd
cmd /K del /f /q libeay32.dll
cmd /K del /f /q pyexpat.pyd
cmd /K del /f /q qt5qml.dll
cmd /K del /f /q qt5qmlmodels.dll
cmd /K del /f /q qt5quick.dll
cmd /K del /f /q ssleay32.dll
cd ..
cd ..
.\upx.exe -9 _ctypes.pyd _decimal.pyd _elementtree.pyd _lzma.pyd _overlapped.pyd _socket.pyd _ssl.pyd _win32sysloader.pyd libffi-7.dll libcrypto-1_1.dll libssl-1_1.dll MCSL2.exe python38.dll pythoncom38.dll pywintypes38.dll qt5core.dll qt5dbus.dll qt5gui.dll qt5multimedia.dll qt5network.dll qt5printsupport.dll qt5svg.dll qt5websockets.dll qt5widgets.dll qt5xml.dll select.pyd unicodedata.pyd win32api.pyd win32gui.pyd win32print.pyd
cmd /K rmdir /s /q .\build\MCSL2.dist\certifi
cmd /K rmdir /s /q .\build\MCSL2.dist\zstandard
cmd /K del /f /q .\build\MCSL2.dist\_asyncio.pyd
cmd /K del /f /q .\build\MCSL2.dist\_multiprocessing.pyd
cmd /K del /f /q .\build\MCSL2.dist\_queue.pyd
cmd /K del /f /q .\build\MCSL2.dist\libeay32.dll
cmd /K del /f /q .\build\MCSL2.dist\pyexpat.pyd
cmd /K del /f /q .\build\MCSL2.dist\qt5qml.dll
cmd /K del /f /q .\build\MCSL2.dist\qt5qmlmodels.dll
cmd /K del /f /q .\build\MCSL2.dist\qt5quick.dll
cmd /K del /f /q .\build\MCSL2.dist\ssleay32.dll
.\upx.exe -9 build/MCSL2.dist/_ctypes.pyd build/MCSL2.dist/_decimal.pyd build/MCSL2.dist/_elementtree.pyd build/MCSL2.dist/_lzma.pyd build/MCSL2.dist/_overlapped.pyd build/MCSL2.dist/_socket.pyd build/MCSL2.dist/_ssl.pyd build/MCSL2.dist/_win32sysloader.pyd build/MCSL2.dist/libffi-7.dll build/MCSL2.dist/libcrypto-1_1.dll build/MCSL2.dist/libssl-1_1.dll build/MCSL2.dist/MCSL2.exe build/MCSL2.dist/python38.dll build/MCSL2.dist/pythoncom38.dll build/MCSL2.dist/pywintypes38.dll build/MCSL2.dist/qt5core.dll build/MCSL2.dist/qt5dbus.dll build/MCSL2.dist/qt5gui.dll build/MCSL2.dist/qt5multimedia.dll build/MCSL2.dist/qt5network.dll build/MCSL2.dist/qt5printsupport.dll build/MCSL2.dist/qt5svg.dll build/MCSL2.dist/qt5websockets.dll build/MCSL2.dist/qt5widgets.dll build/MCSL2.dist/qt5xml.dll build/MCSL2.dist/select.pyd build/MCSL2.dist/unicodedata.pyd build/MCSL2.dist/win32api.pyd build/MCSL2.dist/win32gui.pyd build/MCSL2.dist/win32print.pyd
- name: Upload Artifacts
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 86c5cf3

Please sign in to comment.