summary refs log tree commit diff
path: root/.ci
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2019-10-06 02:28:25 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2019-11-23 20:06:15 +0100
commita1919d00d01504fa1d6ff21aa676a4276ffb8792 (patch)
tree0f64ade293bcd4f9f4f83320887b4755a2da011b /.ci
parentEnable Sticker and Emote messages (diff)
downloadnheko-a1919d00d01504fa1d6ff21aa676a4276ffb8792.tar.xz
Try to package qml modules
Diffstat (limited to '.ci')
-rwxr-xr-x.ci/linux/deploy.sh3
-rwxr-xr-x.ci/macos/deploy.sh2
2 files changed, 2 insertions, 3 deletions
diff --git a/.ci/linux/deploy.sh b/.ci/linux/deploy.sh
index 2caf5e0f..524d72d5 100755
--- a/.ci/linux/deploy.sh
+++ b/.ci/linux/deploy.sh
@@ -44,8 +44,7 @@ do
     linuxdeployqt=$res
 done
 
-./"$linuxdeployqt" ${DIR}/usr/share/applications/*.desktop -unsupported-allow-new-glibc -bundle-non-qt-libs
-./"$linuxdeployqt" ${DIR}/usr/share/applications/*.desktop -unsupported-allow-new-glibc -appimage
+./"$linuxdeployqt" ${DIR}/usr/share/applications/*.desktop -unsupported-allow-new-glibc -bundle-non-qt-libs -qmldir=./resources/qml -appimage
 
 chmod +x nheko-*x86_64.AppImage
 
diff --git a/.ci/macos/deploy.sh b/.ci/macos/deploy.sh
index ee4acaed..1dc9472d 100755
--- a/.ci/macos/deploy.sh
+++ b/.ci/macos/deploy.sh
@@ -16,7 +16,7 @@ PATH=/usr/local/opt/qt/bin/:${PATH}
   mkdir -p nheko.app/Contents/Frameworks
   find "${ICU_LIB}" -type l -name "*.dylib" -exec cp -a -n {} nheko.app/Contents/Frameworks/ \; || true
 
-  sudo macdeployqt nheko.app -dmg -always-overwrite
+  sudo macdeployqt nheko.app -dmg -always-overwrite -qmldir=../resources/qml/
 
   user=$(id -nu)
   sudo chown "${user}" nheko.dmg