action: macos build

This commit is contained in:
YiFang Xiao 2023-11-23 11:53:50 +08:00
parent 7adfb2eb7a
commit 8ea4ef84d9

View file

@ -103,8 +103,11 @@ jobs:
ls -al GoldenDict.app/Contents/Frameworks
find /usr/local/Cellar -name "libicudata.73.dylib" -exec cp {} GoldenDict.app/Contents/Frameworks/ \;
dylibbundler -of -b -x GoldenDict.app/Contents/MacOS/GoldenDict -d GoldenDict.app/Contents/Frameworks/ -p @executable_path/../Frameworks -s /usr/local/ -s /opt/
dylibbundler -of -cd -b -x GoldenDict.app/Contents/Frameworks/libicudata.73.dylib -p @executable_path/../Frameworks -s /usr/local/ -s /opt/
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 "libzim*" -exec dylibbundler -of -b -x {} -d GoldenDict.app/Contents/Frameworks/ -p @executable_path/../Frameworks -s /usr/local/ -s /opt/ \;
find GoldenDict.app/Contents/Frameworks/ -maxdepth 1 -name "libicu*" -exec dylibbundler -of -b -x {} -d GoldenDict.app/Contents/Frameworks/ -p @executable_path/../Frameworks -s /usr/local/ -s /opt/ \;
otool -L GoldenDict.app/Contents/Frameworks/libicu*
otool -L GoldenDict.app/Contents/Frameworks/libzim*