VHSgunzo commited on
Commit
fc1853b
Β·
1 Parent(s): 228a13e

v0.78.2.3

Browse files
CHANGELOG.md CHANGED
@@ -1,6 +1,8 @@
1
  # v0.78.2.3
2
 
3
  * Update [lwrun](https://huggingface.co/lux-wine/lwrun/tree/main/releases/v0.39.1) packages
 
 
4
  * Reduce the size of the `lwrun` installer
5
  * Revert/replace `mesa-tkg-git` with `mesa` in `lwrun`
6
  * Fix prefix restore on first run with `-init`
 
1
  # v0.78.2.3
2
 
3
  * Update [lwrun](https://huggingface.co/lux-wine/lwrun/tree/main/releases/v0.39.1) packages
4
+ * Update `lwrap`
5
+ * Update [lw-runtime](https://github.com/VHSgunzo/lw-runtime/releases/tag/v0.0.2) `v0.0.2`
6
  * Reduce the size of the `lwrun` installer
7
  * Revert/replace `mesa-tkg-git` with `mesa` in `lwrun`
8
  * Fix prefix restore on first run with `-init`
index.html CHANGED
@@ -235,6 +235,20 @@ is_not_pts_home() {
235
  }
236
 
237
  try_install_lwrun() {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
238
  if is_not_pts_home
239
  then
240
  REALP_LWRUN="$(readrealpath "$LWRUN")"
@@ -245,19 +259,7 @@ try_install_lwrun() {
245
  info_msg "Installing lwrun..."
246
  mkdir -p "$LWBIN_DIR"
247
  if mv_lwrun "$RUNSRCRPTH" "$LWRUN"
248
- then
249
- chmod u+x "$LWRUN"
250
- ln_lwrun
251
- info_msg "lwrun installed!"
252
- if [ ! -n "$TMP_LWRUN" ] && \
253
- is_net_conn
254
- then
255
- update_lwrap
256
- LWRUN_INSTALLED=1 \
257
- "$LWRAP" --install
258
- fi
259
- try_shutdown_lw && \
260
- return 0||return 1
261
  else
262
  error_msg "Failed to install lwrun!"
263
  is_lwrun && \
@@ -269,6 +271,8 @@ try_install_lwrun() {
269
  ln -sf "$RUNSRCRPTH" "$LWRUN"
270
  ln_lwrun
271
  return 0
 
 
272
  fi
273
  fi
274
  }
 
235
  }
236
 
237
  try_install_lwrun() {
238
+ finalize_install() {
239
+ chmod u+x "$LWRUN"
240
+ ln_lwrun
241
+ info_msg "lwrun installed!"
242
+ if [ ! -n "$TMP_LWRUN" ] && \
243
+ is_net_conn
244
+ then
245
+ update_lwrap
246
+ LWRUN_INSTALLED=1 \
247
+ "$LWRAP" --install
248
+ fi
249
+ try_shutdown_lw && \
250
+ return 0||return 1
251
+ }
252
  if is_not_pts_home
253
  then
254
  REALP_LWRUN="$(readrealpath "$LWRUN")"
 
259
  info_msg "Installing lwrun..."
260
  mkdir -p "$LWBIN_DIR"
261
  if mv_lwrun "$RUNSRCRPTH" "$LWRUN"
262
+ then finalize_install
 
 
 
 
 
 
 
 
 
 
 
 
263
  else
264
  error_msg "Failed to install lwrun!"
265
  is_lwrun && \
 
271
  ln -sf "$RUNSRCRPTH" "$LWRUN"
272
  ln_lwrun
273
  return 0
274
+ elif [[ ! -n "$TMP_LWRUN" && "$LWRUN_PKG" == 1 ]]
275
+ then finalize_install
276
  fi
277
  fi
278
  }
lutris-wine CHANGED
@@ -1 +1 @@
1
- LW_VERSION="0.78.2.2"
 
1
+ LW_VERSION="0.78.2.3"
lux-wine CHANGED
@@ -1,6 +1,6 @@
1
  #!/usr/bin/env bash
2
 
3
- export LW_VERSION="0.78.2.2"
4
  export LW_DEVELOPERS="VHSgunzo"
5
 
6
  export RED='\033[1;91m'
 
1
  #!/usr/bin/env bash
2
 
3
+ export LW_VERSION="0.78.2.3"
4
  export LW_DEVELOPERS="VHSgunzo"
5
 
6
  export RED='\033[1;91m'
lwpkg/RunDir/Run.sh DELETED
@@ -1,14 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- [ ! -d "$RUNDIR" ] && \
4
- RUNDIR="$(dirname "$(realpath "$0" 2>/dev/null)" 2>/dev/null)"
5
- export PATH="$RUNDIR/static:$PATH"
6
-
7
- LW_DIR="$HOME/.local/share/LuxWine"
8
- LWBIN_DIR="$LW_DIR/bin"
9
- LWRUN="$LWBIN_DIR/lwrun"
10
-
11
- mkdir -p "$LWBIN_DIR"
12
- tar -I 'zstd -T0 --progress' -xf "$RUNDIR/lwrun.tar.zst" -C "$LWBIN_DIR"
13
-
14
- exec "$LWRUN" -init
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lwrap/lwrap CHANGED
@@ -235,6 +235,20 @@ is_not_pts_home() {
235
  }
236
 
237
  try_install_lwrun() {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
238
  if is_not_pts_home
239
  then
240
  REALP_LWRUN="$(readrealpath "$LWRUN")"
@@ -245,19 +259,7 @@ try_install_lwrun() {
245
  info_msg "Installing lwrun..."
246
  mkdir -p "$LWBIN_DIR"
247
  if mv_lwrun "$RUNSRCRPTH" "$LWRUN"
248
- then
249
- chmod u+x "$LWRUN"
250
- ln_lwrun
251
- info_msg "lwrun installed!"
252
- if [ ! -n "$TMP_LWRUN" ] && \
253
- is_net_conn
254
- then
255
- update_lwrap
256
- LWRUN_INSTALLED=1 \
257
- "$LWRAP" --install
258
- fi
259
- try_shutdown_lw && \
260
- return 0||return 1
261
  else
262
  error_msg "Failed to install lwrun!"
263
  is_lwrun && \
@@ -269,6 +271,8 @@ try_install_lwrun() {
269
  ln -sf "$RUNSRCRPTH" "$LWRUN"
270
  ln_lwrun
271
  return 0
 
 
272
  fi
273
  fi
274
  }
 
235
  }
236
 
237
  try_install_lwrun() {
238
+ finalize_install() {
239
+ chmod u+x "$LWRUN"
240
+ ln_lwrun
241
+ info_msg "lwrun installed!"
242
+ if [ ! -n "$TMP_LWRUN" ] && \
243
+ is_net_conn
244
+ then
245
+ update_lwrap
246
+ LWRUN_INSTALLED=1 \
247
+ "$LWRAP" --install
248
+ fi
249
+ try_shutdown_lw && \
250
+ return 0||return 1
251
+ }
252
  if is_not_pts_home
253
  then
254
  REALP_LWRUN="$(readrealpath "$LWRUN")"
 
259
  info_msg "Installing lwrun..."
260
  mkdir -p "$LWBIN_DIR"
261
  if mv_lwrun "$RUNSRCRPTH" "$LWRUN"
262
+ then finalize_install
 
 
 
 
 
 
 
 
 
 
 
 
263
  else
264
  error_msg "Failed to install lwrun!"
265
  is_lwrun && \
 
271
  ln -sf "$RUNSRCRPTH" "$LWRUN"
272
  ln_lwrun
273
  return 0
274
+ elif [[ ! -n "$TMP_LWRUN" && "$LWRUN_PKG" == 1 ]]
275
+ then finalize_install
276
  fi
277
  fi
278
  }
{lwpkg β†’ lwrun-pkg}/RunDir/Run RENAMED
File without changes
lwrun-pkg/RunDir/Run.sh ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+
3
+ which_exe() { command -v "$@" ; }
4
+
5
+ try_mv_nvdrv() {
6
+ mkdir -p "$NVIDIA_DRIVERS_DIR"
7
+ if [ -w "$1" ]
8
+ then mv -f "$1" "$NVIDIA_DRIVERS_DIR/" 2>/dev/null
9
+ else cp -rf "$1" "$NVIDIA_DRIVERS_DIR/" 2>/dev/null
10
+ fi
11
+ }
12
+
13
+ if [[ -n "$RUNOFFSET" && -n "$ARGV0" ]]
14
+ then
15
+ RUNSTATIC="$RUNDIR/static"
16
+ [ "$SYS_TOOLS" == 1 ] && \
17
+ export PATH="$PATH:$RUNSTATIC"||\
18
+ export PATH="$RUNSTATIC:$PATH"
19
+ if [ ! -n "$RUNIMAGE" ] # KDE Neon, CachyOS, Puppy Linux bug
20
+ then
21
+ if [ -x "$(realpath "$ARGV0" 2>/dev/null)" ]
22
+ then RUNIMAGE="$(realpath "$ARGV0" 2>/dev/null)"
23
+ elif [ -x "$(realpath "$(which_exe "$ARGV0")" 2>/dev/null)" ]
24
+ then RUNIMAGE="$(realpath "$(which_exe "$ARGV0")" 2>/dev/null)"
25
+ else RUNIMAGE="$ARGV0"
26
+ fi
27
+ fi
28
+ PRUNDIR="$(dirname "$RUNIMAGE" 2>/dev/null)"
29
+ else
30
+ [ ! -d "$RUNDIR" ] && \
31
+ RUNDIR="$(dirname "$(realpath "$0" 2>/dev/null)" 2>/dev/null)"
32
+ RUNSTATIC="$RUNDIR/static"
33
+ [ "$SYS_TOOLS" == 1 ] && \
34
+ export PATH="$PATH:$RUNSTATIC"||\
35
+ export PATH="$RUNSTATIC:$PATH"
36
+ PRUNDIR="$(realpath "$RUNDIR/../" 2>/dev/null)"
37
+ fi
38
+
39
+ export LWRUN_PKG=1
40
+ LW_DIR="$HOME/.local/share/LuxWine"
41
+ LWBIN_DIR="$LW_DIR/bin"
42
+ LWRUN="$LWBIN_DIR/lwrun"
43
+ NVIDIA_DRIVERS_DIR="$LW_DIR/bin/nvidia-drivers"
44
+
45
+ mkdir -p "$LWBIN_DIR"
46
+ tar -I 'zstd -T0 --progress' -xf "$RUNDIR/lwrun.tar.zst" -C "$LWBIN_DIR"
47
+
48
+ if [[ "$SANDBOX_HOME" != 1 && \
49
+ "$SANDBOX_HOME_DL" != 1 && \
50
+ ! -d "$SANDBOXHOMEDIR/lwrap" && \
51
+ "$PORTABLE_HOME" != 1 && \
52
+ "$TMP_HOME" != 1 && \
53
+ "$TMP_HOME_DL" != 1 && \
54
+ ! -d "$PORTABLEHOMEDIR/lwrap" ]]
55
+ then
56
+ nvidia_version="$(cat /sys/module/nvidia/version 2>/dev/null)"
57
+ if [ -n "$nvidia_version" ]
58
+ then
59
+ if [[ ! -d "$NVIDIA_DRIVERS_DIR/$nvidia_version" && \
60
+ ! -f "$NVIDIA_DRIVERS_DIR/$nvidia_version.nv.drv" ]]
61
+ then
62
+ if [ -d "$PRUNDIR/$nvidia_version" ]
63
+ then try_mv_nvdrv "$PRUNDIR/$nvidia_version"
64
+ elif [ -f "$PRUNDIR/$nvidia_version.nv.drv" ]
65
+ then try_mv_nvdrv "$PRUNDIR/$nvidia_version.nv.drv"
66
+ fi
67
+ fi
68
+ fi
69
+ fi
70
+
71
+ exec "$LWRUN" -init
{lwpkg β†’ lwrun-pkg}/RunDir/lwrun.tar.zst RENAMED
File without changes
{lwpkg β†’ lwrun-pkg}/RunDir/static/.binaries_version RENAMED
@@ -1,5 +1,10 @@
1
  [coreutils](https://github.com/VHSgunzo/coreutils-static) 9.3 (musl):
 
 
 
2
  mkdir
 
 
3
  (musl):
4
  [tar](https://github.com/VHSgunzo/tar-static) 1.34
5
  [bash](https://github.com/robxu9/bash-static) 5.2.015-1.2.3-2
 
1
  [coreutils](https://github.com/VHSgunzo/coreutils-static) 9.3 (musl):
2
+ cat
3
+ cp
4
+ dirname
5
  mkdir
6
+ mv
7
+ realpath
8
  (musl):
9
  [tar](https://github.com/VHSgunzo/tar-static) 1.34
10
  [bash](https://github.com/robxu9/bash-static) 5.2.015-1.2.3-2
{lwpkg β†’ lwrun-pkg}/RunDir/static/.version RENAMED
File without changes
{lwpkg β†’ lwrun-pkg}/RunDir/static/bash RENAMED
File without changes
lwpkg/RunDir/static/mkdir β†’ lwrun-pkg/RunDir/static/cat RENAMED
File without changes
lwpkg/RunDir/static/tar β†’ lwrun-pkg/RunDir/static/cp RENAMED
File without changes
lwpkg/RunDir/static/zstd β†’ lwrun-pkg/RunDir/static/mkdir RENAMED
File without changes
lwpkg/lwrun β†’ lwrun-pkg/RunDir/static/mv RENAMED
File without changes
lwpkg/runtime-fuse2-all β†’ lwrun-pkg/RunDir/static/tar RENAMED
File without changes
lwrun-pkg/RunDir/static/zstd ADDED
File without changes
{lwpkg β†’ lwrun-pkg}/build.sh RENAMED
@@ -6,10 +6,16 @@ RUNTIME='runtime-fuse2-all'
6
  RUNTIMESIZE=($(du -sb "$RUNTIME" 2>/dev/null))
7
 
8
  # RunDir/static
9
- # bash # https://github.com/robxu9/bash-static
10
- # mkdir # https://github.com/VHSgunzo/coreutils-static
11
- # tar # https://github.com/VHSgunzo/tar-static
12
- # zstd # https://github.com/VHSgunzo/zstd-static
 
 
 
 
 
 
13
 
14
  # https://github.com/VHSgunzo/Run-wrapper
15
  # RunDir/Run
 
6
  RUNTIMESIZE=($(du -sb "$RUNTIME" 2>/dev/null))
7
 
8
  # RunDir/static
9
+ # bash https://github.com/robxu9/bash-static
10
+ # coreutils https://github.com/VHSgunzo/coreutils-static :
11
+ # cat
12
+ # cp
13
+ # dirname
14
+ # mkdir
15
+ # mv
16
+ # realpath
17
+ # tar https://github.com/VHSgunzo/tar-static
18
+ # zstd https://github.com/VHSgunzo/zstd-static
19
 
20
  # https://github.com/VHSgunzo/Run-wrapper
21
  # RunDir/Run
lwrun-pkg/lwrun ADDED
File without changes
lwrun-pkg/runtime-fuse2-all ADDED
File without changes
main.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1b59770f79e9b18370438bb49fcb85eda6c0fc6d7c6db5901046c2d45210f752
3
- size 579306
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b6a6e3787a31f3ea14b01807cfbdd016b9d2ff190ebaca337b8b535c174bfd5a
3
+ size 580562