diff options
Diffstat (limited to '.ci/macos/deploy.sh')
-rwxr-xr-x | .ci/macos/deploy.sh | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/.ci/macos/deploy.sh b/.ci/macos/deploy.sh index 39e2f439..133c7b0e 100755 --- a/.ci/macos/deploy.sh +++ b/.ci/macos/deploy.sh @@ -7,7 +7,11 @@ TAG=`git tag -l --points-at HEAD` # Add Qt binaries to path PATH=/usr/local/opt/qt/bin/:${PATH} -sudo macdeployqt build/nheko.app -dmg +pushd build +sudo macdeployqt nheko.app -dmg user=$(id -nu) -sudo chown ${user} build/nheko.dmg -mv build/nheko.dmg . +sudo chown ${user} nheko.dmg +mv nheko.dmg .. +popd + +dmgbuild -s ./.ci/macos/settings.json "Nheko" nheko.dmg |