From 83da330beb87a88417c51403d268623275728c89 Mon Sep 17 00:00:00 2001 From: YiFang Xiao Date: Sat, 19 Mar 2022 00:17:44 +0800 Subject: [PATCH] github:ubuntu appimage can not run on ubuntu 21 --- .github/workflows/ubuntu-6.2.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ubuntu-6.2.yml b/.github/workflows/ubuntu-6.2.yml index 96f50a63..5282284e 100644 --- a/.github/workflows/ubuntu-6.2.yml +++ b/.github/workflows/ubuntu-6.2.yml @@ -71,7 +71,11 @@ jobs: run: | qmake CONFIG+=release PREFIX=/usr CONFIG+=zim_support CONFIG+=chinese_conversion_support make INSTALL_ROOT=appdir -j`nproc` install; find appdir/ - ls -al + + #copy missing shared dll to appdir. + mkdir -p appdir/usr/lib + cp $(ldd appdir/usr/bin/goldendict | grep -o '\W/[^ ]*' |grep gobject ) appdir/usr/lib + cp $(ldd appdir/usr/bin/goldendict | grep -o '\W/[^ ]*' |grep libpango ) appdir/usr/lib - name: Build AppImage run: | wget -c -nv "https://github.com/linuxdeploy/linuxdeploy-plugin-qt/releases/download/continuous/linuxdeploy-plugin-qt-x86_64.AppImage"