From e32e3edad66b72a37581be784fe2c8989bdc0032 Mon Sep 17 00:00:00 2001 From: Samuel <36420837+Samueru-sama@users.noreply.github.com> Date: Wed, 28 Jan 2026 10:02:34 -0400 Subject: [PATCH] fix whatever this is --- make-appimage.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/make-appimage.sh b/make-appimage.sh index 1136d05..6c401cd 100644 --- a/make-appimage.sh +++ b/make-appimage.sh @@ -32,5 +32,10 @@ cp -f "\$APPDIR"/shared/lib/ld-linux*.so* /tmp/"$kek" EOF chmod +x ./AppDir/bin/*.hook +# for weird reasons opencode now attempts to execute $(basename $APPIMAGE)/opencode-cli +# this makes absolutely no sense wtf, so we have to set the APPIMAGE var to the +# opencode binary inside the AppDir so that it resolves correctly +echo 'APPIMAGE=${SHARUN_DIR}/bin/opencode' >> ./AppDir/.env + # Turn AppDir into AppImage quick-sharun --make-appimage