@@ -9,7 +9,7 @@ GHOSTTY_VERSION="$(cat VERSION)"
99TMP_DIR=" /tmp/ghostty-build"
1010APP_DIR=" ${TMP_DIR} /ghostty.AppDir"
1111PUB_KEY=" RWQlAjJC23149WL2sEpT/l0QKy7hMIFhYdQOFy0Z7z7PbneUgvlsnYcV"
12- UPINFO=" gh-releases-zsync|$( echo " ${GITHUB_REPOSITORY:- no-user/ no-repo} " | tr ' /' ' |' ) |latest|*$ARCH .AppImage.zsync"
12+ UPINFO=" gh-releases-zsync|$( echo " ${GITHUB_REPOSITORY:- no-user/ no-repo} " | tr ' /' ' |' ) |latest|Ghostty- *$ARCH .AppImage.zsync"
1313APPDATA_FILE=" ${PWD} /assets/ghostty.appdata.xml"
1414DESKTOP_FILE=" ${PWD} /assets/ghostty.desktop"
1515LIBS2BUNDLE=" ./bin/ghostty /usr/lib/libEGL*"
@@ -29,7 +29,7 @@ mkdir -p -- "${TMP_DIR}" "${APP_DIR}/share/metainfo" "${APP_DIR}/shared/lib"
2929
3030cd " ${TMP_DIR} "
3131
32- if [ $GHOSTTY_VERSION == " tip" ]; then
32+ if [ $GHOSTTY_VERSION = " tip" ]; then
3333 wget " https://github.com/ghostty-org/ghostty/releases/download/tip/ghostty-source.tar.gz" -O ghostty-${GHOSTTY_VERSION} .tar.gz
3434 wget " https://github.com/ghostty-org/ghostty/releases/download/tip/ghostty-source.tar.gz.minisig" -O ghostty-${GHOSTTY_VERSION} .tar.gz.minisig
3535 GHOSTTY_VERSION=" $( tar -tf ghostty-${GHOSTTY_VERSION} .tar.gz --wildcards " *zig.zon.txt" | awk -F' [-/]' ' {print $2"-"$3}' ) "
4040 wget " https://release.files.ghostty.org/${GHOSTTY_VERSION} /ghostty-${GHOSTTY_VERSION} .tar.gz.minisig"
4141fi
4242
43- if [ $GLFW == true ]; then
43+ if [ $GLFW = true ]; then
4444 BUILD_ARGS=" ${BUILD_ARGS} -Dapp-runtime=glfw"
4545else
4646 LIBS2BUNDLE=" ${LIBS2BUNDLE} /usr/lib/gdk-pixbuf-*/*/*/*"
@@ -83,7 +83,7 @@ xvfb-run -a -- sharun l -p -v -e -s -k ${LIBS2BUNDLE}
8383
8484# preload libpixbufloader /w ld-preload-open as svg icons breaks
8585# either on ghostty tab bar or gnome-text-editor while config edit or both :(
86- if [ $GLFW == false ]; then
86+ if [ $GLFW = false ]; then
8787 mv ./shared/lib/gdk-pixbuf-2.0 ./
8888 cp -rv /opt/path-mapping.so ./shared/lib/
8989 cp -rv gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader_svg.so ./shared/lib/
106106
107107GHOSTTY_APPIMAGE=" Ghostty-${VERSION} -${ARCH} .AppImage"
108108
109- if [ $GLFW == true ]; then
110- GHOSTTY_APPIMAGE=" Ghostty-Glfw-${VERSION} -${ARCH} .AppImage"
109+ if [ $GLFW = true ]; then
110+ UPINFO=" gh-releases-zsync|$( echo " ${GITHUB_REPOSITORY:- no-user/ no-repo} " | tr ' /' ' |' ) |latest|Ghossty_*$ARCH .AppImage.zsync"
111+ GHOSTTY_APPIMAGE=" Ghostty_Glfw-${VERSION} -${ARCH} .AppImage"
111112fi
112113
113114cd " ${TMP_DIR} "
0 commit comments