Skip to content

Commit

Permalink
Merge pull request #7455 from cmuck/cm-fix-login-regression-on-linux
Browse files Browse the repository at this point in the history
Fix login regression on linux
  • Loading branch information
mgallien authored Nov 22, 2024
2 parents 408955e + 410091c commit bc4001d
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions admin/linux/build-appimage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,21 @@ export QML_SOURCES_PATHS=${DESKTOP_CLIENT_ROOT}/src/gui

./linuxdeploy-squashfs-root/AppRun --desktop-file=${DESKTOP_FILE} --icon-file=usr/share/icons/hicolor/512x512/apps/Nextcloud.png --executable=usr/bin/${EXECUTABLE_NAME} --appdir=AppDir --output appimage

# Workaround issue #103 and #7231
export APPIMAGETOOL=appimagetool-x86_64.AppImage
wget -O ${APPIMAGETOOL} --ca-directory=/etc/ssl/certs -c https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage
chmod a+x ${APPIMAGETOOL}
rm -rf ./squashfs-root
./${APPIMAGETOOL} --appimage-extract
rm ./${APPIMAGETOOL}
cp -r ./squashfs-root ./appimagetool-squashfs-root
rm -rf ./squashfs-root
APPIMAGE=$(ls *.AppImage)
./"${APPIMAGE}" --appimage-extract
rm ./"${APPIMAGE}"
rm ./squashfs-root/usr/lib/libglib-2.0.so.0
LD_LIBRARY_PATH="$PWD/appimagetool-squashfs-root/usr/lib":$LD_LIBRARY_PATH PATH="$PWD/appimagetool-squashfs-root/usr/bin":$PATH appimagetool -n ./squashfs-root "${APPIMAGE}"

#move AppImage
if [ ! -z "$DRONE_COMMIT" ]
then
Expand Down

0 comments on commit bc4001d

Please sign in to comment.