Skip to content

Commit c2cb707

Browse files
authored
Revert "Simplify with OUTPUT_APPIMAGE variable"
Only works if nothing is modified in AppDir after running `quick-sharun`
1 parent 5ada901 commit c2cb707

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

clapper-appimage.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ set -eux
44

55
ARCH="$(uname -m)"
66
PACKAGE=clapper
7+
URUNTIME="https://raw.githubusercontent.com/pkgforge-dev/Anylinux-AppImages/refs/heads/main/useful-tools/uruntime2appimage.sh"
78
SHARUN="https://raw.githubusercontent.com/pkgforge-dev/Anylinux-AppImages/refs/heads/main/useful-tools/quick-sharun.sh"
89
VERSION="$(cat ~/version)"
910

1011
# Variables used by quick-sharun
11-
export OUTPUT_APPIMAGE=1
1212
export UPINFO="gh-releases-zsync|${GITHUB_REPOSITORY%/*}|${GITHUB_REPOSITORY#*/}|latest|*$ARCH.AppImage.zsync"
1313
export OUTNAME="$PACKAGE"-"$VERSION"-anylinux-"$ARCH".AppImage
1414
export DESKTOP=/usr/share/applications/com.github.rafostar.Clapper.desktop
@@ -38,6 +38,11 @@ find ./AppDir/share/locale -type f ! -name '*glib*' ! -name '*clapper-app*' -del
3838
## Set gsettings to save to keyfile, instead to dconf
3939
echo "GSETTINGS_BACKEND=keyfile" >> ./AppDir/.env
4040

41+
# MAKE APPIMAGE WITH URUNTIME
42+
wget --retry-connrefused --tries=30 "$URUNTIME" -O ./uruntime2appimage
43+
chmod +x ./uruntime2appimage
44+
./uruntime2appimage
45+
4146
# PREPARE APPIMAGE FOR RELEASE
4247
mkdir -p ./dist
4348
mv -v ./*.AppImage* ./dist

0 commit comments

Comments
 (0)