Skip to content
Snippets Groups Projects
Commit e156ee3d authored by Joe Donofry's avatar Joe Donofry
Browse files

Fix cp permissions issue

parent 9732c403
No related branches found
No related tags found
No related merge requests found
......@@ -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 ..
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment