matrixion/.ci/macos/deploy.sh

14 lines
274 B
Bash
Raw Normal View History

2017-11-05 20:14:52 +03:00
#!/usr/bin/env bash
set -e
2017-11-05 21:07:14 +03:00
# Add Qt binaries to path
PATH=/usr/local/opt/qt/bin/:${PATH}
2017-11-05 20:29:35 +03:00
cp -fp ./build/nheko dist/MacOS/Nheko.app/Contents/MacOS
2017-11-05 20:14:52 +03:00
sudo macdeployqt dist/MacOS/Nheko.app -dmg
user=$(id -nu)
sudo chown ${user} dist/MacOS/Nheko.dmg
mv dist/MacOS/Nheko.dmg .