Skip to content

Commit 0721f08

Browse files
authored
fix whatever this is (#6)
1 parent e13b610 commit 0721f08

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

make-appimage.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,10 @@ cp -f "\$APPDIR"/shared/lib/ld-linux*.so* /tmp/"$kek"
3232
EOF
3333
chmod +x ./AppDir/bin/*.hook
3434

35+
# for weird reasons opencode now attempts to execute $(basename $APPIMAGE)/opencode-cli
36+
# this makes absolutely no sense wtf, so we have to set the APPIMAGE var to the
37+
# opencode binary inside the AppDir so that it resolves correctly
38+
echo 'APPIMAGE=${SHARUN_DIR}/bin/opencode' >> ./AppDir/.env
39+
3540
# Turn AppDir into AppImage
3641
quick-sharun --make-appimage

0 commit comments

Comments
 (0)