Fix AppImage compatibility with Ubuntu 14.04 (#18)
This commit is contained in:
parent
704b0ef335
commit
0b44e14f28
1 changed files with 18 additions and 1 deletions
19
.github/workflows/appimage-release.yml
vendored
19
.github/workflows/appimage-release.yml
vendored
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue