Spaces:
Configuration error
Configuration error
VHSgunzo commited on
Commit ·
228a13e
1
Parent(s): 786aa26
Reduce the size of the lwrun installer
Browse filesFiles changed (14)
- CHANGELOG.md+1
- lwpkg/RunDir/RunAdded
- lwpkg/RunDir/Run.shAdded+14
- lwpkg/RunDir/lwrun.tar.zstAdded
- lwpkg/RunDir/static/.binaries_versionAdded+6
- lwpkg/RunDir/static/.versionAdded+1
- lwpkg/RunDir/static/bashAdded
- lwpkg/RunDir/static/mkdirAdded
- lwpkg/RunDir/static/tarAdded
- lwpkg/RunDir/static/zstdAdded
- lwpkg/build.shAdded+21
- lwpkg/lwrunAdded
- lwpkg/runtime-fuse2-allAdded
- main.zip+2-2
123456# v0.78.2.3* Update [lwrun](https://huggingface.co/lux-wine/lwrun/tree/main/releases/v0.39.1) packages* Revert/replace `mesa-tkg-git` with `mesa` in `lwrun`* Fix prefix restore on first run with `-init`1234567# v0.78.2.3* Update [lwrun](https://huggingface.co/lux-wine/lwrun/tree/main/releases/v0.39.1) packages* Reduce the size of the `lwrun` installer* Revert/replace `mesa-tkg-git` with `mesa` in `lwrun`* Fix prefix restore on first run with `-init`
1234567891011121314#!/usr/bin/env bash
[ ! -d "$RUNDIR" ] && \RUNDIR="$(dirname "$(realpath "$0" 2>/dev/null)" 2>/dev/null)"export PATH="$RUNDIR/static:$PATH"
LW_DIR="$HOME/.local/share/LuxWine"LWBIN_DIR="$LW_DIR/bin"LWRUN="$LWBIN_DIR/lwrun"
mkdir -p "$LWBIN_DIR"tar -I 'zstd -T0 --progress' -xf "$RUNDIR/lwrun.tar.zst" -C "$LWBIN_DIR"
exec "$LWRUN" -init123456[coreutils](https://github.com/VHSgunzo/coreutils-static) 9.3 (musl): mkdir(musl): [tar](https://github.com/VHSgunzo/tar-static) 1.34 [bash](https://github.com/robxu9/bash-static) 5.2.015-1.2.3-2 [zstd](https://github.com/VHSgunzo/zstd-static) 1.4.7.r191410.0.1123456789101112131415161718192021#!/usr/bin/env bashset -e
# https://github.com/VHSgunzo/runimage-runtime-staticRUNTIME='runtime-fuse2-all'RUNTIMESIZE=($(du -sb "$RUNTIME" 2>/dev/null))
# RunDir/static# bash # https://github.com/robxu9/bash-static# mkdir # https://github.com/VHSgunzo/coreutils-static# tar # https://github.com/VHSgunzo/tar-static# zstd # https://github.com/VHSgunzo/zstd-static
# https://github.com/VHSgunzo/Run-wrapper# RunDir/Run
# https://github.com/VHSgunzo/lwruntar -I 'zstd -T0 --ultra -22 --progress' -cf RunDir/lwrun.tar.zst lwrunmksquashfs RunDir lwrun -offset "$RUNTIMESIZE" -root-owned -no-xattrs -quiet -mkfs-time 0 -noappend -b 1M -comp lz4 -Xhcdd if="$RUNTIME" bs="$RUNTIMESIZE" count=1 of=lwrun conv=notruncchmod +x lwrun123version https://git-lfs.github.com/spec/v1oid sha256:701217644c2d076e3abf3de7088d6af2d0ce0103990d73979da0a4c19b5a7a66size 576085123version https://git-lfs.github.com/spec/v1oid sha256:1b59770f79e9b18370438bb49fcb85eda6c0fc6d7c6db5901046c2d45210f752size 579306
CHANGELOG.md+1
lwpkg/RunDir/RunAdded
lwpkg/RunDir/Run.shAdded+14
lwpkg/RunDir/lwrun.tar.zstAdded
lwpkg/RunDir/static/.binaries_versionAdded+6
lwpkg/RunDir/static/.versionAdded+1
lwpkg/RunDir/static/bashAdded
lwpkg/RunDir/static/mkdirAdded
lwpkg/RunDir/static/tarAdded
lwpkg/RunDir/static/zstdAdded
lwpkg/build.shAdded+21
lwpkg/lwrunAdded
lwpkg/runtime-fuse2-allAdded
main.zip+2-2