File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -55,14 +55,23 @@ jobs:
55
55
x86_64-w64-mingw32-strip --strip-unneeded ./AppDir/opt/wine-devel/lib/wine/x86_64-windows/*.dll
56
56
57
57
export ARCH="$(uname -m)"
58
+ export APPIMAGE_EXTRACT_AND_RUN=1
58
59
UPINFO="gh-releases-zsync|$(echo "$GITHUB_REPOSITORY" | tr '/' '|')|test6|*$ARCH.AppImage.zsync"
59
60
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}')
60
61
URUNTIME="https://github.com/VHSgunzo/uruntime/releases/latest/download/uruntime-appimage-dwarfs-$ARCH"
61
62
URUNTIME_LITE="https://github.com/VHSgunzo/uruntime/releases/latest/download/uruntime-appimage-dwarfs-lite-$ARCH"
62
63
wget --retry-connrefused --tries=30 "$URUNTIME" -O ./uruntime
63
64
wget --retry-connrefused --tries=30 "$URUNTIME_LITE" -O ./uruntime-lite
64
65
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..."
65
72
./uruntime-lite --appimage-addupdinfo "$UPINFO"
73
+
74
+ echo "Generating AppImage..."
66
75
./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
67
76
zsyncmake *.AppImage -u *.AppImage
68
77
You can’t perform that action at this time.
0 commit comments