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"
Original file line number Diff line number Diff line change 11[tool .poetry ]
22name = " tempren"
3- version = " 1.3.5 "
3+ version = " 1.3.6 "
44description = " Template-based renaming utility"
55readme = " README.md"
66license = " GPL-3.0-or-later"
@@ -38,13 +38,13 @@ geopy = "^2.4.1"
3838fastkml = " ^1.1.0"
3939
4040[tool .poetry .group .dev .dependencies ]
41- pytest = " ^8.3.5 "
41+ pytest = " ^9.0.3 "
4242pytest-cov = " ^4.1"
4343coverage = " ^7.2.7"
4444pre-commit = " ^3.5"
4545mypy = " ^1.4.1"
4646pylint = " ^3.0.2"
47- black = " ^24.4.0 "
47+ black = " ^26.3.1 "
4848
4949[tool .poetry .extras ]
5050video = [" pymediainfo" ]
You can’t perform that action at this time.
0 commit comments