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

set -ex

TAG=`git tag -l --points-at HEAD`

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

pushd build
sudo macdeployqt nheko.app -dmg
user=$(id -nu)
sudo chown ${user} nheko.dmg
mv nheko.dmg ..
popd

dmgbuild -s ./.ci/macos/settings.json "Nheko" nheko.dmg