Skip to content

Commit 8893b9f

Browse files
authored
Merge pull request #70 from pkgforge-dev/feature/posix
fix: use command -v to get relative path
2 parents 6ff5b89 + d16fc8a commit 8893b9f

File tree

2 files changed

+5
-11
lines changed

2 files changed

+5
-11
lines changed

README.md

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,14 @@
33
<img src="./assets/appimage.png" alt="AppImage Logo" width="128">
44
<br>Ghostty AppImage<br>
55
<img src="https://img.shields.io/badge/License-MIT-blue.svg" alt="License: MIT">
6-
<img src="https://img.shields.io/github/forks/psadi/ghostty-appimage" alt="Forks">
7-
<img src="https://img.shields.io/github/stars/psadi/ghostty-appimage" alt="Stars">
86
<img src="https://github.com/psadi/ghostty-appimage/actions/workflows/ci.yaml/badge.svg" alt="Build Status">
9-
<img src="https://img.shields.io/github/issues/psadi/ghostty-appimage" alt="Open Issues">
10-
<img src="https://img.shields.io/github/issues-pr/psadi/ghostty-appimage" alt="Pull Requests">
11-
<br>
12-
<img src="https://img.shields.io/github/downloads/psadi/ghostty-appimage/total" alt="GitHub Downloads (all assets, all releases)">
13-
<img src="https://img.shields.io/github/downloads/psadi/ghostty-appimage/latest/total" alt="GitHub Downloads (all assets, latest release)">
147
<img src="https://img.shields.io/github/v/release/psadi/ghostty-appimage" alt="GitHub Release">
158
<img src="https://img.shields.io/github/release-date/psadi/ghostty-appimage" alt="GitHub Release Date">
16-
<img src="https://img.shields.io/github/contributors/psadi/ghostty-appimage" alt="Contributors">
9+
<img src="https://img.shields.io/github/downloads/psadi/ghostty-appimage/total" alt="GitHub Downloads (all assets, all releases)">
10+
<img src="https://img.shields.io/github/downloads/psadi/ghostty-appimage/latest/total" alt="GitHub Downloads (all assets, latest release)">
1711
</p></h1>
1812

19-
This repository provides build scripts to create a Universal AppImage for [Ghostty](https://ghostty.org/). This unofficial build offers an executable AppImage compatible with any Linux distribution.
13+
This repository provides build scripts to create a Universal AppImage for [Ghostty](https://ghostty.org/). This unofficial build offers an executable AppImage compatible with any Linux distribution (Including musl based).
2014

2115
**Ghostty Source Code:** [Click Here](https://github.com/ghostty-org/ghostty)
2216

build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ fi
9999
cd "${TMP_DIR}"
100100

101101
# create app image
102-
cp $(which uruntime) ./uruntime
102+
cp $(command -v uruntime) ./uruntime
103103

104104
# persist mount for faster launch times
105105
sed -i 's|URUNTIME_MOUNT=[0-9]|URUNTIME_MOUNT=0|' ./uruntime
@@ -113,7 +113,7 @@ echo "Generating AppImage"
113113
--no-history --no-create-timestamp \
114114
--compression zstd:level=22 -S26 -B32 \
115115
--header uruntime -i "${APP_DIR}" \
116-
-o Ghostty-"${VERSION}"-anylinux-"${ARCH}".AppImage
116+
-o Ghostty-"${VERSION}"-"${ARCH}".AppImage
117117

118118
echo "Generating Zsync file"
119119
zsyncmake *.AppImage -u *.AppImage

0 commit comments

Comments
 (0)