From 93fd782f28e3bee313b61d5f02d75b83ebd27145 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Szymon=20=C5=81=C4=85giewka?= Date: Sat, 31 Oct 2026 09:25:55 +0100 Subject: [PATCH] fix(bundle): pass Ghostty version to appimagetool Export VERSION from the resolved Ghostty version so appimagetool writes the actual X-AppImage-Version instead of UNKNOWN or an unrelated inherited value. Keep output filenames and update channels unchanged. --- bin/bundle-appimage.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/bundle-appimage.sh b/bin/bundle-appimage.sh index 5120d1b..1a94f3f 100755 --- a/bin/bundle-appimage.sh +++ b/bin/bundle-appimage.sh @@ -17,6 +17,8 @@ export UPINFO export DEPLOY_OPENGL=1 export EXEC_WRAPPER=1 export URUNTIME_PRELOAD=1 +# appimagetool reads VERSION for X-AppImage-Version, independently of OUTNAME. +export VERSION="${GHOSTTY_VERSION}" export OUTNAME="Ghostty-${GHOSTTY_VERSION}-${ARCH}.AppImage" export DESKTOP="./ghostty-${GHOSTTY_VERSION}/zig-out/share/applications/com.mitchellh.ghostty.desktop" export ICON="./ghostty-${GHOSTTY_VERSION}/zig-out/share/icons/hicolor/256x256/apps/com.mitchellh.ghostty.png"