使用命令: ll-appimage-convert convert -f ~/Downloads/linyaps_convert/象棋助手/象棋助手-1.0.0-x86_64.AppImage --name "cn.yhdm360.cca" --id "cn.yhdm360.cca" --version "1.0.0.0" --description "cn.yhdm360.cca" -b
ll-appimage-convert convert -f ~/Downloads/linyaps_convert/象棋助手/象棋助手-1.0.0-x86_64.AppImage --name "cn.yhdm360.cca" --id "cn.yhdm360.cca" --version "1.0.0.0" --description "cn.yhdm360.cca" -b
报错内容 No available configurations for the given RGBA pixel format
生成的 yaml 是
version: "1" package: id: cn.yhdm360.cca name: cn.yhdm360.cca version: 1.0.0.0 kind: app description: | cn.yhdm360.cca base: org.deepin.base/23.1.0 runtime: command: - "/opt/apps/cn.yhdm360.cca/files/bin/cn.yhdm360.cca" build: | cd linglong/sources APPIMAGE=$(find . -regex '.*\.AppImage\|.*appimage' -exec basename {} \;) chmod +x ${APPIMAGE} ./${APPIMAGE} --appimage-extract BINNAME=${LINGLONG_APPID} APP_PREFIX=${BINNAME} echo "#!/usr/bin/env bash" > ${BINNAME} echo "unset LD_LIBRARY_PATH" >> ${BINNAME} echo "cd ${PREFIX}/lib/${APP_PREFIX} && ./AppRun $@" >> ${BINNAME} # only search for .desktop file in the squashfs-root directory DESKTOP_FILE=$(find squashfs-root -maxdepth 1 -regex '.*\.desktop' -exec basename {} \;) cp squashfs-root/${DESKTOP_FILE} . sed -i "s@Exec=.*@Exec=${PREFIX}/bin/${BINNAME}@" ${DESKTOP_FILE} cd squashfs-root if [ ! $PREFIX ]; then PREFIX=opt/${APP_PREFIX} fi DESTDIR=${dest_dir} # install icons to linglong package if [ -d usr/share/icons ]; then cd usr find share/icons -type f -exec install -D "{}" "${DESTDIR}/${PREFIX}/{}" \; cd .. fi find -type d -exec install -d "${DESTDIR}/${PREFIX}/lib/${APP_PREFIX}/{}" \; find -type f -exec install -D "{}" "${DESTDIR}/${PREFIX}/lib/${APP_PREFIX}/{}" \; find -type l -exec bash -c "ln -s \$(readlink {}) "${DESTDIR}/${PREFIX}/lib/${APP_PREFIX}/{}" " -exec install -D "{}" "${DESTDIR}/${PREFIX}/lib/${APP_PREFIX}/{}" \; cd .. install -D ${BINNAME} ${DESTDIR}/${PREFIX}/bin/${BINNAME} install -D ${DESKTOP_FILE} ${DESTDIR}/${PREFIX}/share/applications/${DESKTOP_FILE}
Featured Collection
Popular Ranking
Popular Events
使用命令:
ll-appimage-convert convert -f ~/Downloads/linyaps_convert/象棋助手/象棋助手-1.0.0-x86_64.AppImage --name "cn.yhdm360.cca" --id "cn.yhdm360.cca" --version "1.0.0.0" --description "cn.yhdm360.cca" -b
报错内容 No available configurations for the given RGBA pixel format
生成的 yaml 是