Skip to content

Commit 9edf36b

Browse files
authored
add UPINFO to appbundle
1 parent 2f3134e commit 9edf36b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

desmume-appimage.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,13 @@ echo "Generating AppImage..."
6060
-i ./AppDir -o "$PACKAGE"-"$VERSION"-anylinux-"$ARCH".AppImage
6161

6262
# Set up the PELF toolchain
63+
UPINFO="$(echo "$UPINFO" | sed 's#.AppImage.zsync#*.AppBundle.zsync#g')"
6364
wget -O ./pelf "https://github.com/xplshn/pelf/releases/latest/download/pelf_$ARCH"
6465
chmod +x ./pelf
6566
echo "Generating [dwfs]AppBundle...(Go runtime)"
6667
./pelf --add-appdir ./AppDir \
6768
--appimage-compat \
69+
--add-updinfo "$UPINFO" \
6870
--appbundle-id="org.desmume.DeSmuME#github.com/$GITHUB_REPOSITORY:$VERSION@$(date +%d_%m_%Y)" \
6971
--compression "-C zstd:level=22 -S26 -B8" \
7072
--output-to "$PACKAGE-$VERSION-anylinux-$ARCH.dwfs.AppBundle"

0 commit comments

Comments
 (0)