We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d62b496 commit fa1a157Copy full SHA for fa1a157
make-appimage.sh
@@ -3,7 +3,8 @@
3
set -eu
4
5
export ARCH=$(uname -m)
6
-export VERSION=$(cat ./dist/version)
+export VERSION=$(pacman -Q PACKAGENAME | awk '{print $2; exit}') # example command to get version of application here
7
+export OUTPATH=./dist
8
export ADD_HOOKS="self-updater.bg.hook"
9
export UPINFO="gh-releases-zsync|${GITHUB_REPOSITORY%/*}|${GITHUB_REPOSITORY#*/}|latest|*$ARCH.AppImage.zsync"
10
export ICON=PATH_OR_URL_TO_ICON
@@ -16,7 +17,3 @@ quick-sharun /PATH/TO/BINARY_AND_LIBRARIES_HERE
16
17
18
# Turn AppDir into AppImage
19
quick-sharun --make-appimage
-
20
-# release artifact and make appname file
21
-mv -v ./*.AppImage* ./dist
22
-awk -F'=' '/^Name=/ {gsub(/ /,"_",$2); print $2; exit}' ./AppDir/*.desktop > ./dist/appname
0 commit comments