Skip to content

Commit 176e32f

Browse files
committed
test
1 parent 75cc585 commit 176e32f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/main.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,23 @@ jobs:
5555
x86_64-w64-mingw32-strip --strip-unneeded ./AppDir/opt/wine-devel/lib/wine/x86_64-windows/*.dll
5656
5757
export ARCH="$(uname -m)"
58+
export APPIMAGE_EXTRACT_AND_RUN=1
5859
UPINFO="gh-releases-zsync|$(echo "$GITHUB_REPOSITORY" | tr '/' '|')|test6|*$ARCH.AppImage.zsync"
5960
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}')
6061
URUNTIME="https://github.com/VHSgunzo/uruntime/releases/latest/download/uruntime-appimage-dwarfs-$ARCH"
6162
URUNTIME_LITE="https://github.com/VHSgunzo/uruntime/releases/latest/download/uruntime-appimage-dwarfs-lite-$ARCH"
6263
wget --retry-connrefused --tries=30 "$URUNTIME" -O ./uruntime
6364
wget --retry-connrefused --tries=30 "$URUNTIME_LITE" -O ./uruntime-lite
6465
chmod +x ./uruntime*
66+
67+
# Keep the mount point (speeds up launch time)
68+
sed -i 's|URUNTIME_MOUNT=[0-9]|URUNTIME_MOUNT=0|' ./uruntime-lite
69+
70+
# Add udpate info to runtime
71+
echo "Adding update information \"$UPINFO\" to runtime..."
6572
./uruntime-lite --appimage-addupdinfo "$UPINFO"
73+
74+
echo "Generating AppImage..."
6675
./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
6776
zsyncmake *.AppImage -u *.AppImage
6877

0 commit comments

Comments
 (0)