VHSgunzo commited on
Commit
026ed59
·
1 Parent(s): 980c753
lwrap/PKGBUILD CHANGED
@@ -2,7 +2,7 @@
2
 
3
  pkgname='lwrap'
4
  pkgver='0.80.7'
5
- pkgrel='4'
6
  pkgdesc='Lux Wine wrapper for RunImage container'
7
  arch=('x86_64')
8
  url='https://github.com/VHSgunzo/lux-wine'
 
2
 
3
  pkgname='lwrap'
4
  pkgver='0.80.7'
5
+ pkgrel='5'
6
  pkgdesc='Lux Wine wrapper for RunImage container'
7
  arch=('x86_64')
8
  url='https://github.com/VHSgunzo/lux-wine'
lwrap/lwrap CHANGED
@@ -106,8 +106,8 @@ make_install() {
106
  if [[ -d "$RUNROOTFS" && -f "$RSTEAM_DESKF" ]]
107
  then
108
  cp -rf "$RSTEAM_DESKF" "$HSTEAM_DESKF"
109
- sed -i "s|^Exec.*steam-runtime|Exec='$HBIN_DIR/steam-runtime'|g" "$HSTEAM_DESKF"
110
- sed -i "s|^Name=Steam (Runtime)|Name=Steam (RunImage LW)|g" "$HSTEAM_DESKF"
111
  sed -i '/RunOnDiscreteGpu/d;/PrefersNonDefaultGPU/d' "$HSTEAM_DESKF"
112
  HICNSTM="$HOME_ICONS/steam.png"
113
  for hi_icon_size in ${HICOLOR_SIZES[@]}
@@ -186,7 +186,7 @@ try_install_lwrun() {
186
  info_msg "Update lwrun link..."
187
  ln -sf "$LWRUN" "$LWRUN_LN"
188
  fi
189
- for steam in {steam,steam-runtime,steam-native}
190
  do
191
  STEAM_LN="$HBIN_DIR/$steam"
192
  if [ "$(readrealpath "$STEAM_LN")" != "$LWRUN" ]
 
106
  if [[ -d "$RUNROOTFS" && -f "$RSTEAM_DESKF" ]]
107
  then
108
  cp -rf "$RSTEAM_DESKF" "$HSTEAM_DESKF"
109
+ sed -i "s|^Exec.*steam.*|Exec='$HBIN_DIR/steam' %U|g" "$HSTEAM_DESKF"
110
+ sed -i "s|^Name=Steam.*|Name=Steam (RunImage LW)|g" "$HSTEAM_DESKF"
111
  sed -i '/RunOnDiscreteGpu/d;/PrefersNonDefaultGPU/d' "$HSTEAM_DESKF"
112
  HICNSTM="$HOME_ICONS/steam.png"
113
  for hi_icon_size in ${HICOLOR_SIZES[@]}
 
186
  info_msg "Update lwrun link..."
187
  ln -sf "$LWRUN" "$LWRUN_LN"
188
  fi
189
+ for steam in {steam,steam-native}
190
  do
191
  STEAM_LN="$HBIN_DIR/$steam"
192
  if [ "$(readrealpath "$STEAM_LN")" != "$LWRUN" ]
registry_patch/disable_wayland.reg ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ Windows Registry Editor Version 5.00
2
+
3
+ [HKEY_CURRENT_USER\Software\Wine\Drivers]
4
+ "Graphics"="x11,wayland"
registry_patch/enable_wayland.reg ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ Windows Registry Editor Version 5.00
2
+
3
+ [HKEY_CURRENT_USER\Software\Wine\Drivers]
4
+ "Graphics"="wayland,x11"