From 63a4d6484158948d30d1383e4e0d731f636c10da Mon Sep 17 00:00:00 2001 From: xiaoyifang Date: Sat, 26 Mar 2022 21:08:19 +0800 Subject: [PATCH] github: add macos otool description for future use preparation --- .github/workflows/macos-6.2.yml | 4 ++-- .github/workflows/macos.yml | 7 +++---- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/macos-6.2.yml b/.github/workflows/macos-6.2.yml index 47db1481..0653fc25 100644 --- a/.github/workflows/macos-6.2.yml +++ b/.github/workflows/macos-6.2.yml @@ -68,14 +68,14 @@ jobs: tar xvjf eb-4.4.3.tar.bz2 cd eb-4.4.3 && ./configure && make -j 8 && sudo make install && cd .. #brew install qt # or use official offline installer - brew install opencc libao hunspell ffmpeg libtiff xz lzo libogg libvorbis zstd + brew install opencc libao hunspell ffmpeg@5 libtiff xz lzo libogg libvorbis zstd qmake CONFIG+=release CONFIG+=zim_support CONFIG+=chinese_conversion_support make # 打包 - name: package run: | - # 拷贝依赖 macdeployqt ${targetName}.app -qmldir=. -verbose=1 -dmg + otool -L GoldenDict.app/Contents/MacOS/GoldenDict - name: Set outputs id: vars run: | diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 0b01fea6..3fff754f 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -61,22 +61,21 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 - - - name: build macos run: | wget ftp://ftp.sra.co.jp/pub/misc/eb/eb-4.4.3.tar.bz2 tar xvjf eb-4.4.3.tar.bz2 cd eb-4.4.3 && ./configure && make -j 8 && sudo make install && cd .. #brew install qt # or use official offline installer - brew install opencc libao hunspell ffmpeg libtiff xz lzo libogg libvorbis zstd + brew install opencc libao hunspell ffmpeg@5 libtiff xz lzo libogg libvorbis zstd qmake CONFIG+=release CONFIG+=zim_support CONFIG+=chinese_conversion_support make # 打包 - name: package run: | - # 拷贝依赖 macdeployqt ${targetName}.app -qmldir=. -verbose=1 -dmg + otool -L GoldenDict.app/Contents/MacOS/GoldenDict + - name: Set outputs id: vars run: |