Skip to content

Commit 3918028

Browse files
committed
test
1 parent 9381df5 commit 3918028

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

.github/workflows/main.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,26 @@ jobs:
5252
squashfs-root/AppRun --skip-appimage --recipe wine-devel.yml
5353
5454
export ARCH="$(uname -m)"
55+
export APPIMAGE_EXTRACT_AND_RUN=1
5556
UPINFO="gh-releases-zsync|$(echo "$GITHUB_REPOSITORY" | tr '/' '|')|test6|*$ARCH.AppImage.zsync"
5657
VERSION=devel_$(wget -qO- https://github.com/mmtrt/Wine-Builds/releases/expanded_assets/latest | grep -Eo '[0-9].*xz"' | sed -r 's|-amd64| |' | head -1 | awk '{print $1}')
5758
URUNTIME="https://github.com/VHSgunzo/uruntime/releases/latest/download/uruntime-appimage-dwarfs-$ARCH"
5859
URUNTIME_LITE="https://github.com/VHSgunzo/uruntime/releases/latest/download/uruntime-appimage-dwarfs-lite-$ARCH"
59-
wget --retry-connrefused --tries=30 "$URUNTIME" -O ./uruntime
60-
wget --retry-connrefused --tries=30 "$URUNTIME_LITE" -O ./uruntime-lite
60+
wget -q --retry-connrefused --tries=30 "$URUNTIME" -O ./uruntime
61+
wget -q --retry-connrefused --tries=30 "$URUNTIME_LITE" -O ./uruntime-lite
6162
chmod +x ./uruntime*
63+
64+
# Keep the mount point (speeds up launch time)
65+
sed -i 's|URUNTIME_MOUNT=[0-9]|URUNTIME_MOUNT=0|' ./uruntime-lite
66+
67+
# Add udpate info to runtime
68+
echo "Adding update information \"$UPINFO\" to runtime..."
6269
./uruntime-lite --appimage-addupdinfo "$UPINFO"
70+
71+
echo "Generating AppImage..."
6372
./uruntime --appimage-mkdwarfs -f --set-owner 0 --set-group 0 --no-history --no-create-timestamp --compression zstd:level=22 -S26 -B8 --header uruntime-lite -i AppDir -o ./wine-"$VERSION"-"$ARCH".AppImage
73+
74+
echo "Generating zsync file..."
6475
zsyncmake *.AppImage -u *.AppImage
6576
6677
- name: release

0 commit comments

Comments
 (0)