We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d2f8aec commit 6cc8e38Copy full SHA for 6cc8e38
1 file changed
make-appimage.sh
@@ -30,11 +30,11 @@ rm -f \
30
cp -v /usr/bin/opencode ./AppDir/bin/opencode
31
ln -s opencode ./AppDir/bin/opencode-cli
32
patchelf --set-interpreter /tmp/"$kek" ./AppDir/bin/opencode
33
-patchelf --set-rpath '$ORIGIN/../lib' ./AppDir/bin/opencode
34
35
cat <<EOF > ./AppDir/bin/random-linker.src.hook
36
#!/bin/sh
37
cp -f "\$APPDIR"/shared/lib/ld-linux*.so* /tmp/"$kek"
+export LD_LIBRARY_PATH="\$APPDIR/shared/lib:\$LD_LIBRARY_PATH"
38
EOF
39
chmod +x ./AppDir/bin/*.hook
40
0 commit comments