File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed
Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -11,20 +11,22 @@ export UPINFO="gh-releases-zsync|${GITHUB_REPOSITORY%/*}|${GITHUB_REPOSITORY#*/}
1111export ICON=/usr/share/icons/hicolor/128x128/apps/OpenCode.png
1212export DESKTOP=/usr/share/applications/OpenCode.desktop
1313export DEPLOY_OPENGL=1
14- export DEPLOY_P11KIT=1
1514
1615# Deploy dependencies
17- quick-sharun \
18- /usr/bin/OpenCode \
19- /usr/bin/opencode-cli
16+ quick-sharun /usr/bin/opencode*
2017
2118# bun makes binaries that self extract and read /proc/self/exe
2219# they are also very delicate and get broken by strip
2320kek=.$( tr -dc ' A-Za-z0-9_=-' < /dev/urandom | head -c 10)
24- rm -f ./AppDir/bin/opencode-cli ./AppDir/shared/bin/opencode-cli
25- cp -v /usr/bin/opencode-cli ./AppDir/bin/opencode-cli
26- patchelf --set-interpreter /tmp/" $kek " ./AppDir/bin/opencode-cli
27- patchelf --set-rpath ' $ORIGIN/../lib' ./AppDir/bin/opencode-cli
21+ rm -f \
22+ ./AppDir/bin/opencode \
23+ ./AppDir/bin/opencode-cli \
24+ ./AppDir/shared/bin/opencode \
25+ ./AppDir/shared/bin/opencode-cli
26+ cp -v /usr/bin/opencode ./AppDir/bin/opencode
27+ ln -s opencode ./AppDir/bin/opencode-cli
28+ patchelf --set-interpreter /tmp/" $kek " ./AppDir/bin/opencode
29+ patchelf --set-rpath ' $ORIGIN/../lib' ./AppDir/bin/opencode
2830
2931cat << EOF > ./AppDir/bin/random-linker.src.hook
3032#!/bin/sh
You can’t perform that action at this time.
0 commit comments