fix: macos arm support

This commit is contained in:
YiFang Xiao 2024-01-19 23:57:27 +08:00
parent ba2bf80848
commit 239a7ffdfd

View file

@ -22,7 +22,7 @@ jobs:
strategy: strategy:
matrix: matrix:
os: [flyci-macos-large-latest-m2] os: [flyci-macos-large-latest-m2]
qt_ver: [ 6.7.0,6.6.0 ] qt_ver: [ 6.7.0 ]
qt_arch: [clang_64] qt_arch: [clang_64]
env: env:
targetName: GoldenDict targetName: GoldenDict
@ -100,8 +100,9 @@ jobs:
macdeployqt ${targetName}.app -qmldir=. -verbose=1 macdeployqt ${targetName}.app -qmldir=. -verbose=1
otool -L GoldenDict.app/Contents/MacOS/GoldenDict otool -L GoldenDict.app/Contents/MacOS/GoldenDict
find /opt -name "libicudata.73.dylib" -exec cp {} GoldenDict.app/Contents/Frameworks/ \;
ls -al GoldenDict.app/Contents/Frameworks ls -al GoldenDict.app/Contents/Frameworks
find /usr/local -name "libicudata.73.dylib" -exec cp {} GoldenDict.app/Contents/Frameworks/ \;
find GoldenDict.app/Contents/Frameworks/ -maxdepth 1 -name "libicu*" -exec ls -al {} \; find GoldenDict.app/Contents/Frameworks/ -maxdepth 1 -name "libicu*" -exec ls -al {} \;
find GoldenDict.app/Contents/Frameworks/ -maxdepth 1 -type f -name "libicu*" -exec ls -al {} \; find GoldenDict.app/Contents/Frameworks/ -maxdepth 1 -type f -name "libicu*" -exec ls -al {} \;