mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 19:08:58 +03:00
Try to package qml modules
This commit is contained in:
parent
425d534e22
commit
a1919d00d0
2 changed files with 2 additions and 3 deletions
|
@ -44,8 +44,7 @@ do
|
||||||
linuxdeployqt=$res
|
linuxdeployqt=$res
|
||||||
done
|
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 -bundle-non-qt-libs -qmldir=./resources/qml -appimage
|
||||||
./"$linuxdeployqt" ${DIR}/usr/share/applications/*.desktop -unsupported-allow-new-glibc -appimage
|
|
||||||
|
|
||||||
chmod +x nheko-*x86_64.AppImage
|
chmod +x nheko-*x86_64.AppImage
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ PATH=/usr/local/opt/qt/bin/:${PATH}
|
||||||
mkdir -p nheko.app/Contents/Frameworks
|
mkdir -p nheko.app/Contents/Frameworks
|
||||||
find "${ICU_LIB}" -type l -name "*.dylib" -exec cp -a -n {} nheko.app/Contents/Frameworks/ \; || true
|
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)
|
user=$(id -nu)
|
||||||
sudo chown "${user}" nheko.dmg
|
sudo chown "${user}" nheko.dmg
|
||||||
|
|
Loading…
Reference in a new issue