mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-28 08:35:41 +00:00
CI/AppImage: Work around broken AppImageLauncher
This commit is contained in:
parent
624ab4d377
commit
5368a1dcba
|
@ -82,6 +82,7 @@ set -e
|
||||||
LINUXDEPLOY=./linuxdeploy-x86_64
|
LINUXDEPLOY=./linuxdeploy-x86_64
|
||||||
LINUXDEPLOY_PLUGIN_QT=./linuxdeploy-plugin-qt-x86_64
|
LINUXDEPLOY_PLUGIN_QT=./linuxdeploy-plugin-qt-x86_64
|
||||||
APPIMAGETOOL=./appimagetool-x86_64
|
APPIMAGETOOL=./appimagetool-x86_64
|
||||||
|
APPIMAGERUNTIME=./runtime-x86_64
|
||||||
PATCHELF=patchelf
|
PATCHELF=patchelf
|
||||||
|
|
||||||
if [ ! -f "$LINUXDEPLOY" ]; then
|
if [ ! -f "$LINUXDEPLOY" ]; then
|
||||||
|
@ -95,10 +96,14 @@ if [ ! -f "$LINUXDEPLOY_PLUGIN_QT" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -f "$APPIMAGETOOL" ]; then
|
if [ ! -f "$APPIMAGETOOL" ]; then
|
||||||
retry_command wget -O "$APPIMAGETOOL" https://github.com/stenzek/duckstation-ext-qt-minimal/releases/download/linux/appimagetool-x86_64.AppImage
|
retry_command wget -O "$APPIMAGETOOL" https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage
|
||||||
chmod +x "$APPIMAGETOOL"
|
chmod +x "$APPIMAGETOOL"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ ! -f "$APPIMAGERUNTIME" ]; then
|
||||||
|
retry_command wget -O "$APPIMAGERUNTIME" https://github.com/stenzek/type2-runtime/releases/download/continuous/runtime-x86_64
|
||||||
|
fi
|
||||||
|
|
||||||
OUTDIR=$(realpath "./$APPDIRNAME")
|
OUTDIR=$(realpath "./$APPDIRNAME")
|
||||||
rm -fr "$OUTDIR"
|
rm -fr "$OUTDIR"
|
||||||
|
|
||||||
|
@ -207,4 +212,4 @@ done
|
||||||
|
|
||||||
echo "Generating AppImage..."
|
echo "Generating AppImage..."
|
||||||
rm -f "$NAME.AppImage"
|
rm -f "$NAME.AppImage"
|
||||||
ARCH=x86_64 VERSION=test "$APPIMAGETOOL" -s "$OUTDIR" && mv ./*.AppImage "$NAME.AppImage"
|
"$APPIMAGETOOL" -v --runtime-file "$APPIMAGERUNTIME" "$OUTDIR" "$NAME.AppImage"
|
||||||
|
|
Loading…
Reference in a new issue