From c63190a425a7c14274fe55ace7934c01d6db912a Mon Sep 17 00:00:00 2001 From: kaniol-lck <375520360@qq.com> Date: Tue, 9 Jul 2024 16:35:23 +0800 Subject: [PATCH] mac build, #99 --- .github/workflows/ci.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 59d86a5..c93e5c4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -282,7 +282,7 @@ jobs: modules: 'qt5compat' - name: Install libaria2 run: | - wget "https://github.com/kaniol-lck/aria2/releases/download/release-1.36.0/libaria2-clang-macos-10.15.zip" + wget "https://github.com/kaniol-lck/aria2/releases/download/1.36.0/libaria2-libs-clang-macos-13-openssl-with-bt.zip" unzip *.zip csrutil status sudo cp -r lib/ /usr/local/lib/ @@ -313,12 +313,6 @@ jobs: - name: package run: | macdeployqt modmanager.app -qmldir=. -verbose=1 -dmg - otool -L modmanager.app/Contents/MacOS/ModManager - install_name_tool -change "/usr/lib/libaria2.0.dylib" "@rpath/libaria2.0.dylib" modmanager.app/Contents/MacOS/ModManager - install_name_tool -change "/usr/lib/libcares.2.dylib" "@rpath/libcares.2.dylib" modmanager.app/Contents/MacOS/ModManager - install_name_tool -change "/usr/lib/libgmp.10.dylib" "@rpath/libgmp.10.dylib" modmanager.app/Contents/MacOS/ModManager - install_name_tool -change "/usr/lib/libquazip1-qt6.1.4.0.dylib" "@rpath/libquazip1-qt6.1.4.0.dylib" modmanager.app/Contents/MacOS/ModManager - otool -L modmanager.app/Contents/MacOS/ModManager shell: sh - uses: actions/upload-artifact@v2 with: