Skip to content

Commit c37e24e

Browse files
psadipsadi
andauthored
build: add uruntime dep (#49)
* build: add uruntime dep * Update setup.sh --------- Co-authored-by: psadi <[email protected]>
1 parent 3cf8e71 commit c37e24e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

setup.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ ZIG_VERSION="0.13.0"
88
PANDOC_VERSION="3.6.3"
99
MINISIGN_VERSION="0.11"
1010
SHARUN_VERSION="v0.3.9"
11+
URUNTIME_VERSION="v0.1.5"
1112

1213
GITHUB_BASE="https://github.com"
1314
PANDOC_BASE="${GITHUB_BASE}/jgm/pandoc/releases/download/${PANDOC_VERSION}"
@@ -17,6 +18,7 @@ LLVM_BASE="${GITHUB_BASE}/pkgforge-dev/llvm-libs-debloated/releases/download/con
1718
ZIG_URL="https://ziglang.org/download/${ZIG_VERSION}/zig-linux-${ARCH}-${ZIG_VERSION}.tar.xz"
1819
LIB4BIN_URL="https://raw.githubusercontent.com/VHSgunzo/sharun/refs/heads/main/lib4bin"
1920
SHARUN_URL="${GITHUB_BASE}/VHSgunzo/sharun/releases/download/${SHARUN_VERSION}/sharun-${ARCH}"
21+
URUNTIME_URL="${GITHUB_BASE}/VHSgunzo/uruntime/releases/download/${URUNTIME_VERSION}/uruntime-appimage-squashfs-lite-${ARCH}"
2022

2123
case "${ARCH}" in
2224
"x86_64")
@@ -85,6 +87,11 @@ if [ ! -f '/usr/local/bin/sharun' ]; then
8587
chmod +x /usr/local/bin/sharun
8688
fi
8789

90+
if [ ! -f '/usr/local/bin/uruntime' ]; then
91+
wget "${URUNTIME_URL}" -O /usr/local/bin/uruntime
92+
chmod +x /usr/local/bin/uruntime
93+
fi
94+
8895
if [ ! -f '/opt/path-mapping.so' ]; then
8996
git clone https://github.com/fritzw/ld-preload-open.git
9097
(

0 commit comments

Comments
 (0)