Skip to content

Commit 768500c

Browse files
authored
update appbundle
1 parent f3a068f commit 768500c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

gimp-appimage.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,11 +202,15 @@ echo "Generating AppImage..."
202202
--header uruntime \
203203
-i ./AppDir -o ./GIMP-"$VERSION"-anylinux-"$ARCH".AppImage
204204

205+
UPINFO="$(echo "$UPINFO" | sed 's#.AppImage#*.AppBundle#g')"
205206
wget -O ./pelf "https://github.com/xplshn/pelf/releases/latest/download/pelf_$ARCH"
206207
chmod +x ./pelf
207208
echo "Generating [dwfs]AppBundle...(Go runtime)"
208209
./pelf --add-appdir ./AppDir \
209-
--appbundle-id="GIMP-$VERSION" \
210+
--appbundle-id="org.gimp.GIMP#github.com/$GITHUB_REPOSITORY:$VERSION@$(date +%d_%m_%Y)" \
211+
--appimage-compat \
212+
--disable-use-random-workdir \
213+
--add-updinfo "$UPINFO" \
210214
--compression "-C zstd:level=22 -S25 -B8" \
211215
--output-to GIMP-"$VERSION"-anylinux-"$ARCH".dwfs.AppBundle
212216

0 commit comments

Comments
 (0)