Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
with:
name: ghostty-appimage
retention-days: 7
path: /tmp/ghostty-build/Ghostty-x86_64.AppImage
path: /tmp/ghostty-build/Ghostty-x86_64.AppImage*

release_appimage:
name: "Upload binaries to current release"
Expand All @@ -51,7 +51,7 @@ jobs:
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ./Ghostty-x86_64.AppImage
file: ./Ghostty-x86_64.AppImage*
tag: ${{ github.ref }}
overwrite: true
file_glob: true
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,15 @@ chmod +x Ghostty-x86_64.AppImage

Since AppImages are self-contained executables, there is no formal installation process beyond setting executable permissions.

**To update:**
**To update manually:**

1. Download the latest AppImage package from the [releases](https://github.com/psadi/ghostty-appimage/releases) section.
2. Follow the same steps as in the [Installation](#installation) section to make it executable and run it.
1. Download the latest AppImage package from the [releases](https://github.com/psadi/ghostty-appimage/releases) section.
2. Follow the same steps as in the [Installation](#installation) section to make it executable and run it.

**Update automatically:**

1. Use [AppImageUpdate](https://github.com/AppImageCommunity/AppImageUpdate) which reads the update information in the AppImage. This is a low level tool.
2. Use a higher level tool that uses AppImageUpdate, like [AM](https://github.com/ivan-hc/AM) or [appimaged](https://github.com/probonopd/go-appimage/blob/master/src/appimaged/README.md) daemon, these tools also automatically handle desktop integration.

## ❓ What's Next?

Expand Down
4 changes: 3 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@

set -e

export ARCH="$(uname -m)"
GHOSTTY_VERSION="1.0.1"
TMP_DIR="/tmp/ghostty-build"
APP_DIR="${TMP_DIR}/ghostty.AppDir"
PUB_KEY="RWQlAjJC23149WL2sEpT/l0QKy7hMIFhYdQOFy0Z7z7PbneUgvlsnYcV"
UPINFO="gh-releases-zsync|$(echo "$GITHUB_REPOSITORY" | tr '/' '|')|latest|*$ARCH.AppImage.zsync"

rm -rf "${TMP_DIR}"

Expand Down Expand Up @@ -95,4 +97,4 @@ EOF
cd "${TMP_DIR}"

# create app image
ARCH="$(uname -m)" appimagetool "${APP_DIR}"
appimagetool -u "${UPINFO}" "${APP_DIR}"