File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,6 +12,15 @@ sudo apt-get install -y --no-install-recommends \
1212# Install build tooling
1313pip install --quiet python-appimage
1414
15+ # Download appimagetool upfront so python-appimage finds it in PATH
16+ # (avoids its internal download from AppImage/appimagetool which lacks continuous releases)
17+ wget -q " https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-${ARCH} .AppImage" \
18+ -O /usr/local/bin/appimagetool
19+ chmod +x /usr/local/bin/appimagetool
20+
21+ # Run AppImages without FUSE (not available on GitHub-hosted runners)
22+ export APPIMAGE_EXTRACT_AND_RUN=1
23+
1524# Build base Python AppImage and install tempren into it
1625# python-appimage looks for .desktop and icon alongside the entrypoint script
1726python -m python_appimage build app \
@@ -43,10 +52,6 @@ SYSTEM_MAGIC_DB="/usr/share/misc/magic.mgc"
4352sed -i ' 2i export LD_LIBRARY_PATH="${APPDIR}/usr/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"' \
4453 " ${APPDIR} /AppRun"
4554
46- # Download appimagetool and squash into final AppImage
47- wget -q " https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-${ARCH} .AppImage" \
48- -O appimagetool
49- chmod +x appimagetool
50- ARCH=" ${ARCH} " ./appimagetool " ${APPDIR} " " tempren-${VERSION} -${ARCH} .AppImage"
55+ ARCH=" ${ARCH} " appimagetool " ${APPDIR} " " tempren-${VERSION} -${ARCH} .AppImage"
5156
5257echo " Built: tempren-${VERSION} -${ARCH} .AppImage"
You can’t perform that action at this time.
0 commit comments