Skip to content

Commit

Permalink
Merge pull request #4866 from nextcloud/bugfix/buildBrandedAppImage
Browse files Browse the repository at this point in the history
build script for AppImage should not assume Nextcloud is the name
  • Loading branch information
mgallien authored Aug 26, 2022
2 parents c630b39 + 4629403 commit 2e2ed97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions admin/linux/build-appimage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export LD_LIBRARY_PATH=/usr/lib/

# Workaround issue #103
rm -rf ./squashfs-root
APPIMAGE=$(ls Nextcloud*.AppImage)
APPIMAGE=$(ls *.AppImage)
"./${APPIMAGE}" --appimage-extract
rm "./${APPIMAGE}"
rm ./squashfs-root/usr/lib/libglib-2.0.so.0
Expand All @@ -119,6 +119,6 @@ PATH=./linuxdeployqt-squashfs-root/usr/bin:$PATH appimagetool -n ./squashfs-root
#move AppImage
if [ ! -z "$DRONE_COMMIT" ]
then
mv Nextcloud*.AppImage Nextcloud-${SUFFIX}-${DRONE_COMMIT}-x86_64.AppImage
mv *.AppImage ${APPNAME}-${SUFFIX}-${DRONE_COMMIT}-x86_64.AppImage
fi
mv *.AppImage ${DESKTOP_CLIENT_ROOT}/

0 comments on commit 2e2ed97

Please sign in to comment.