Skip to content

Commit e1c4cd5

Browse files
authored
fix $VERSION and add it to appimage file name
1 parent ec2bb7f commit e1c4cd5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

AppImage/make-appimage.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,12 +88,12 @@ find ./usr/lib ./usr/bin -type f -exec strip -s -R .comment --strip-unneeded {}
8888

8989
# Do the thing!
9090
echo "Generating AppImage..."
91-
#export VERSION="$(./AppRun --version | awk '{print $(NF-1)}')" # This breaks for some reason?
91+
export VERSION="$(./AppRun dunst --version | awk 'FNR==1 {print $NF}')"
9292
cd ..
9393
wget -q "$APPIMAGETOOL" -O appimagetool
9494
chmod +x ./appimagetool
9595
./appimagetool --comp zstd \
9696
--mksquashfs-opt -Xcompression-level --mksquashfs-opt 22 \
97-
-n ./AppDir ./dunst-"$ARCH".AppImage
97+
-n ./AppDir ./dunst-"$VERSION"-"$ARCH".AppImage
9898
ls
9999
echo "All Done!"

0 commit comments

Comments
 (0)