Skip to content

Commit 135beae

Browse files
authored
better fix
1 parent b3282ad commit 135beae

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

make-appimage.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,15 @@ export ADD_HOOKS="self-updater.bg.hook"
1010
export UPINFO="gh-releases-zsync|${GITHUB_REPOSITORY%/*}|${GITHUB_REPOSITORY#*/}|latest|*$ARCH.AppImage.zsync"
1111
export DEPLOY_OPENGL=1
1212
export DEPLOY_VULKAN=1
13-
export PATH_MAPPING='/usr/bin/ldd:${SHARUN_DIR}/bin/ldd'
1413

1514
# Deploy dependencies
1615
quick-sharun ./AppDir/bin/* \
1716
/usr/bin/ldd \
1817
/usr/lib/libsecret*
1918

19+
# This is hardcoded to look into /usr/bin/ldd and causes a crash
20+
# looks like we only need to patch this path away, it seems to work without it
21+
sed -i -e 's|/usr/bin/ldd|/XXX/YYY/ZZZ|g' ./AppDir/bin/resources/app.asar
22+
2023
# Turn AppDir into AppImage
2124
quick-sharun --make-appimage

0 commit comments

Comments
 (0)