Skip to content

Commit 44fe945

Browse files
authored
update appbundle
1 parent 94a33a2 commit 44fe945

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

mpv-appimage.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,15 @@ echo "Generating AppImage..."
9292
--header uruntime-lite \
9393
-i ./AppDir -o ./mpv-"$VERSION"-anylinux-"$ARCH".AppImage
9494

95+
UPINFO="$(echo "$UPINFO" | sed 's#.AppImage#*.AppBundle#g')"
9596
wget -O ./pelf "https://github.com/xplshn/pelf/releases/latest/download/pelf_$ARCH"
9697
chmod +x ./pelf
97-
98-
echo "Generating [dwfs]AppBundle...(Go runtime)"
98+
echo "Generating [dwfs]AppBundle..."
9999
./pelf --add-appdir ./AppDir \
100100
--appbundle-id="io.mpv.Mpv#github.com/$GITHUB_REPOSITORY:$VERSION@$(date +%d_%m_%Y)" \
101+
--appimage-compat \
102+
--disable-use-random-workdir \
103+
--add-updinfo "$UPINFO" \
101104
--compression "-C zstd:level=22 -S26 -B8" \
102105
--output-to mpv-"$VERSION"-anylinux-"$ARCH".dwfs.AppBundle
103106

0 commit comments

Comments
 (0)