From f14a7952112cffda9cfec7c78cd35f00fc7fa319 Mon Sep 17 00:00:00 2001 From: Bruno Lopes Date: Thu, 11 Dec 2025 10:27:11 -0300 Subject: [PATCH] build/linux: Quick fix for wrong type2-runtime being fetched This fixes: (ERROR): Downloaded runtime version differs from the one released online. Please, run again this script. --- build/linux/appimage/3_dist-gimp-goappimage.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/linux/appimage/3_dist-gimp-goappimage.sh b/build/linux/appimage/3_dist-gimp-goappimage.sh index 9e4d3c5afa..01eefaebd6 100644 --- a/build/linux/appimage/3_dist-gimp-goappimage.sh +++ b/build/linux/appimage/3_dist-gimp-goappimage.sh @@ -64,7 +64,7 @@ if [ "$MODE" != '--bundle-only' ]; then standard_appimagetool_version=$("$standard_appimagetool" --version 2>&1 | sed -e 's/.*version \(.*\)), build.*/\1/') ## static runtime to be squashed by appimagetool with the files bundled by the bundler - static_runtime_version_online=$(curl -s 'https://api.github.com/repos/AppImage/type2-runtime/releases' | + static_runtime_version_online=$(curl -s 'https://api.github.com/repos/AppImage/type2-runtime/releases/latest' | grep -Po '"target_commitish":.*?[^\\]",' | head -1 | sed -e 's|target_commitish||g' -e 's|"||g' -e 's|:||g' -e 's|,||g' -e 's| ||g') wget https://github.com/AppImage/type2-runtime/releases/download/continuous/runtime-aarch64 -O runtime-aarch64 >/dev/null 2>&1