mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 20:48:52 +03:00
Fix cp permissions issue
This commit is contained in:
parent
9732c403ac
commit
e156ee3d53
1 changed files with 3 additions and 1 deletions
|
@ -8,13 +8,15 @@ TAG=`git tag -l --points-at HEAD`
|
|||
PATH=/usr/local/opt/qt/bin/:${PATH}
|
||||
|
||||
pushd build
|
||||
sudo macdeployqt nheko.app -dmg
|
||||
|
||||
# macdeployqt does not copy symlinks over.
|
||||
# this specifically addresses icu4c issues but nothing else.
|
||||
export ICU_LIB="$(brew --prefix icu4c)/lib"
|
||||
mkdir -p nheko.app/Contents/Frameworks
|
||||
find ${ICU_LIB} -type l -name "*.dylib" -exec cp {} nheko.app/Contents/Frameworks/ \; || true
|
||||
|
||||
sudo macdeployqt nheko.app -dmg
|
||||
|
||||
user=$(id -nu)
|
||||
sudo chown ${user} nheko.dmg
|
||||
mv nheko.dmg ..
|
||||
|
|
Loading…
Reference in a new issue