|
|
@@ -62,11 +62,11 @@ rm -rf ./usr/share/caja-python/
|
|
|
rm -rf ./usr/share/nautilus-python/
|
|
|
rm -rf ./usr/share/nemo-python/
|
|
|
|
|
|
-# Move sync exlucde to right location
|
|
|
+# Move sync exclude to right location
|
|
|
mv ./etc/Nextcloud/sync-exclude.lst ./usr/bin/
|
|
|
rm -rf ./etc
|
|
|
|
|
|
-sed -i -e 's|Icon=nextcloud|Icon=Nextcloud|g' usr/share/applications/nextcloud.desktop # Bug in desktop file?
|
|
|
+sed -i -e 's|Icon=nextcloud|Icon=Nextcloud|g' usr/share/applications/com.nextcloud.desktopclient.Nextcloud.desktop # Bug in desktop file?
|
|
|
cp ./usr/share/icons/hicolor/512x512/apps/Nextcloud.png . # Workaround for linuxeployqt bug, FIXME
|
|
|
|
|
|
|
|
|
@@ -87,13 +87,13 @@ chmod a+x linuxdeployqt*.AppImage
|
|
|
rm ./linuxdeployqt-continuous-x86_64.AppImage
|
|
|
unset QTDIR; unset QT_PLUGIN_PATH ; unset LD_LIBRARY_PATH
|
|
|
export LD_LIBRARY_PATH=/app/usr/lib/
|
|
|
-./squashfs-root/AppRun /app/usr/share/applications/nextcloud.desktop -bundle-non-qt-libs
|
|
|
+./squashfs-root/AppRun /app/usr/share/applications/com.nextcloud.desktopclient.Nextcloud.desktop -bundle-non-qt-libs
|
|
|
|
|
|
# Set origin
|
|
|
./squashfs-root/usr/bin/patchelf --set-rpath '$ORIGIN/' /app/usr/lib/libnextcloudsync.so.0
|
|
|
|
|
|
# Build AppImage
|
|
|
-./squashfs-root/AppRun /app/usr/share/applications/nextcloud.desktop -appimage
|
|
|
+./squashfs-root/AppRun /app/usr/share/applications/com.nextcloud.desktopclient.Nextcloud.desktop -appimage
|
|
|
|
|
|
mv Nextcloud*.AppImage Nextcloud-${SUFFIX}-${DRONE_COMMIT}-x86_64.AppImage
|
|
|
|