action:macos,does not need libicu.dylib any more

This commit is contained in:
YiFang Xiao 2023-08-04 11:05:57 +08:00
parent ac8e79358c
commit 1002358631
2 changed files with 4 additions and 4 deletions

View file

@ -121,9 +121,9 @@ jobs:
macdeployqt ${targetName}.app -no-strip -qmldir=. -verbose=1
otool -L GoldenDict.app/Contents/MacOS/GoldenDict
ls -al GoldenDict.app/Contents/Frameworks
otool -L GoldenDict.app/Contents/Frameworks/libicu*.dylib
# otool -L GoldenDict.app/Contents/Frameworks/libicu*.dylib
ls -al /usr/local/Cellar/icu4c/7*/lib/libicudata.*.dylib
cp -r /usr/local/Cellar/icu4c/7*/lib/libicudata.*.dylib GoldenDict.app/Contents/Frameworks
# cp -r /usr/local/Cellar/icu4c/7*/lib/libicudata.*.dylib GoldenDict.app/Contents/Frameworks
codesign --force --deep -s - GoldenDict.app

View file

@ -120,8 +120,8 @@ jobs:
macdeployqt ${targetName}.app -qmldir=. -verbose=1
otool -L GoldenDict.app/Contents/MacOS/GoldenDict
ls -al GoldenDict.app/Contents/Frameworks
otool -L GoldenDict.app/Contents/Frameworks/libicu*.dylib
cp -r /usr/local/Cellar/icu4c/7*/lib/libicudata.*.dylib GoldenDict.app/Contents/Frameworks
# otool -L GoldenDict.app/Contents/Frameworks/libicu*.dylib
# cp -r /usr/local/Cellar/icu4c/7*/lib/libicudata.*.dylib GoldenDict.app/Contents/Frameworks
codesign --force --deep -s - GoldenDict.app