|
3 | 3 | set -eux |
4 | 4 |
|
5 | 5 | ARCH="$(uname -m)" |
6 | | -PACKAGE=clapper |
7 | | -URUNTIME="https://raw.githubusercontent.com/pkgforge-dev/Anylinux-AppImages/refs/heads/main/useful-tools/uruntime2appimage.sh" |
8 | | -SHARUN="https://raw.githubusercontent.com/pkgforge-dev/Anylinux-AppImages/refs/heads/main/useful-tools/quick-sharun.sh" |
9 | 6 | VERSION="$(cat ~/version)" |
| 7 | +SHARUN="https://raw.githubusercontent.com/pkgforge-dev/Anylinux-AppImages/refs/heads/main/useful-tools/quick-sharun.sh" |
10 | 8 |
|
11 | 9 | # Variables used by quick-sharun |
12 | 10 | export UPINFO="gh-releases-zsync|${GITHUB_REPOSITORY%/*}|${GITHUB_REPOSITORY#*/}|latest|*$ARCH.AppImage.zsync" |
13 | | -export OUTNAME="$PACKAGE"-"$VERSION"-anylinux-"$ARCH".AppImage |
| 11 | +export OUTNAME=clapper-"$VERSION"-anylinux-"$ARCH".AppImage |
14 | 12 | export DESKTOP=/usr/share/applications/com.github.rafostar.Clapper.desktop |
15 | 13 | export ICON=/usr/share/icons/hicolor/scalable/apps/com.github.rafostar.Clapper.svg |
16 | 14 | export DEPLOY_OPENGL=1 |
|
27 | 25 | exit 1 |
28 | 26 | fi |
29 | 27 |
|
30 | | -# DEPLOY ALL LIBS |
| 28 | +# Trace and deploy all files and directories needed for the application (including binaries, libraries and others) |
31 | 29 | wget --retry-connrefused --tries=30 "$SHARUN" -O ./quick-sharun |
32 | 30 | chmod +x ./quick-sharun |
33 | 31 | ./quick-sharun /usr/bin/clapper -- https://test-videos.co.uk/vids/bigbuckbunny/mp4/h265/1080/Big_Buck_Bunny_1080_10s_1MB.mp4 |
34 | 32 |
|
35 | | -## Further debloat locale |
36 | | -find ./AppDir/share/locale -type f ! -name '*glib*' ! -name '*clapper-app*' -delete |
37 | | - |
38 | 33 | ## Set gsettings to save to keyfile, instead to dconf |
39 | 34 | echo "GSETTINGS_BACKEND=keyfile" >> ./AppDir/.env |
40 | 35 |
|
41 | | -# MAKE APPIMAGE WITH URUNTIME |
42 | | -wget --retry-connrefused --tries=30 "$URUNTIME" -O ./uruntime2appimage |
43 | | -chmod +x ./uruntime2appimage |
44 | | -./uruntime2appimage |
| 36 | +# Make the AppImage with uruntime |
| 37 | +./quick-sharun --make-appimage |
45 | 38 |
|
46 | | -# PREPARE APPIMAGE FOR RELEASE |
| 39 | +# Prepare the AppImage for release |
47 | 40 | mkdir -p ./dist |
48 | 41 | mv -v ./*.AppImage* ./dist |
49 | 42 | mv -v ~/version ./dist |
0 commit comments