Fix AppImage compatibility with Ubuntu 14.04 (#18)

This commit is contained in:
ilya-fedin 2020-04-02 15:03:13 +04:00 committed by GitHub
parent 704b0ef335
commit 0b44e14f28
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -370,9 +370,26 @@ jobs:
./linuxdeployqt-continuous-x86_64.AppImage \
$REPO_NAME/AppDir/usr/share/applications/*.desktop \
-appimage \
-bundle-non-qt-libs \
-extra-plugins=bearer,iconengines,imageformats,platforminputcontexts,platformthemes/libqgtk3.so
# Workaround to increase compatibility with older systems; see https://github.com/darealshinji/AppImageKit-checkrt for details
mkdir -p $REPO_NAME/AppDir/usr/optional
wget -c https://github.com/darealshinji/AppImageKit-checkrt/releases/download/continuous/exec-x86_64.so -O $REPO_NAME/AppDir/usr/optional/exec.so
mkdir -p $REPO_NAME/AppDir/usr/optional/libstdc++
cp /usr/lib/x86_64-linux-gnu/libstdc++.so.6 $REPO_NAME/AppDir/usr/optional/libstdc++
pushd $REPO_NAME/AppDir
rm AppRun
wget -c https://github.com/darealshinji/AppImageKit-checkrt/releases/download/continuous/AppRun-patched-x86_64 -O AppRun
chmod a+x AppRun
popd
./linuxdeployqt-continuous-x86_64.AppImage \
$REPO_NAME/AppDir/usr/share/applications/*.desktop \
-appimage
- name: Get artifact name
run: |
artifact_name=$(echo Kotatogram_Desktop*.AppImage)