summary refs log tree commit diff
path: root/.ci/macos/deploy.sh
diff options
context:
space:
mode:
Diffstat (limited to '.ci/macos/deploy.sh')
-rwxr-xr-x.ci/macos/deploy.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/.ci/macos/deploy.sh b/.ci/macos/deploy.sh
new file mode 100755
index 00000000..01d99586
--- /dev/null
+++ b/.ci/macos/deploy.sh
@@ -0,0 +1,12 @@
+#!/usr/bin/env bash
+
+set -e
+
+make app
+
+sudo macdeployqt dist/MacOS/Nheko.app -dmg
+user=$(id -nu)
+sudo chown ${user} dist/MacOS/Nheko.dmg
+mv dist/MacOS/Nheko.dmg .
+
+export ARTIFACT=Nheko.dmg