summary refs log tree commit diff
path: root/.ci/macos/deploy.sh
blob: 7e551e9d422df92063ad7c09e0a9cb85fa19db93 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env bash

set -e

# Add Qt binaries to path
PATH=/usr/local/opt/qt/bin/:${PATH}

cp -fp ./build/nheko dist/MacOS/Nheko.app/Contents/MacOS

sudo macdeployqt dist/MacOS/Nheko.app -dmg
user=$(id -nu)
sudo chown ${user} dist/MacOS/Nheko.dmg
mv dist/MacOS/Nheko.dmg .