Skip to content

Commit

Permalink
v0.78.3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
VHSgunzo committed Mar 30, 2024
1 parent 872e4eb commit a4dfbf2
Show file tree
Hide file tree
Showing 7 changed files with 200 additions and 209 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# v0.78.3.8

* Update [lwrun](https://huggingface.co/lux-wine/lwrun/tree/main/releases/v0.39.1) packages
* Remove possibility of updating from the old version (`LutrisWine`) from `lwrap`
* Replace `chromium` with `firefox` in `lwrun` container
* Remove DB script for `Assassin's Creed Odyssey`
* Add the `Wine` prefix name to the shortcut name if a shortcut with the same name already exists and the app used custom `Wine` prefix
* Add `Yandex Cloud` mirrors
* Update `lwrap`
* Minor fixes

# v0.78.3.7

Expand Down
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ This project allows you to easily run your favorite applications and games for W
```
curl -sL lwrap.github.io|bash
```
* YC mirror:
```
curl -sL lwrap.website.yandexcloud.net|bash
```
* HF mirror:
```
curl -sL lux-wine-git.static.hf.space|sed 1d|bash
Expand All @@ -22,6 +26,10 @@ curl -sL lux-wine-git.static.hf.space|sed 1d|bash
```
wget -qO - lwrap.github.io|bash
```
* YC mirror:
```
wget -qO - lwrap.website.yandexcloud.net|bash
```
* HF mirror:
```
wget -qO - lux-wine-git.static.hf.space|sed 1d|bash
Expand Down
1 change: 0 additions & 1 deletion lutris-wine

This file was deleted.

26 changes: 17 additions & 9 deletions lux-wine
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

export LW_VERSION="0.78.3.7"
export LW_VERSION="0.78.3.8"
export LW_DEVELOPERS="VHSgunzo"

export RED='\033[1;91m'
Expand Down Expand Up @@ -219,6 +219,8 @@ check_def_config() {
export DEFPFX_HF_URL="https://huggingface.co/lux-wine/wine-prefix/resolve/main/releases/$DEFPFX_VERSION/defprefix.xz.lwpfx"
export DEFPFXDOTNET_HF_URL="https://huggingface.co/lux-wine/wine-prefix/resolve/main/releases/$DEFPFX_VERSION/defprefix_dotnet.xz.lwpfx"
export DEFPFXDOTNETDESKTOP_HF_URL="https://huggingface.co/lux-wine/wine-prefix/resolve/main/releases/$DEFPFX_VERSION/defprefix_dotnetdesktop.xz.lwpfx"
export DEFPFX_YC_URL="https://storage.yandexcloud.net/lux-wine/wine-prefix/$DEFPFX_VERSION/defprefix.xz.lwpfx"
export DEFPFXDOTNET_YC_URL="https://storage.yandexcloud.net/lux-wine/wine-prefix/$DEFPFX_VERSION/defprefix_dotnet.xz.lwpfx"
}

print_var() {
Expand Down Expand Up @@ -1456,7 +1458,7 @@ exe2png() {
then
chksum_shrt_png_new=($(md5sum "${SHRT_NAME}.png" 2>/dev/null))
chksum_shrt_png=($(md5sum "$SHRT_PNG" 2>/dev/null))
if [ "$chksum_shrt_png_new" != "$chksum_shrt_png" ]
if [[ "$chksum_shrt_png_new" != "$chksum_shrt_png" ]]
then
shrt_num=$(( $shrt_num + 1 ))
continue
Expand Down Expand Up @@ -1548,6 +1550,9 @@ create_shortcut() {
SHRT_NAME="${ADD_APP_NAME//[^[:alnum:] ._-]/}"
SHRT_NAME="$(sed 's|^Запустить ||gi;s|^Играть ||gi;s|^Launch ||gi;s|^Play ||gi'<<<"$SHRT_NAME")"
try_mkdir "$LW_DEF_TMP"
[[ -f "${LW_APPS_DIR}/${SHRT_NAME}.desktop" && \
"$WINEPREFIX" != "$LW_DEF_WINEPFX" ]] && \
SHRT_NAME="$SHRT_NAME ($(basename "$WINEPREFIX"))"
DESKF="${LW_DEF_TMP}/${SHRT_NAME}.desktop"
echo "[Desktop Entry]" > "$DESKF"
(LW_SOURCE="$LWRAP"
Expand Down Expand Up @@ -1664,10 +1669,10 @@ create_shortcut() {
if [ -f "$LU_EXE" ] && [[ -f "$EXE_CFG" || -f "$EXE_CENV" ]]
then
local SHRTEXEPFX="$(dirname "$LU_EXE")/$(basename "$LU_EXE"|sed 's|\.exe$||gi')"
[ -f "$EXE_CFG" ] && \
try_cp "$EXE_CFG" "$SHRTEXEPFX.wcfg"
[ -f "$EXE_CENV" ] && \
try_cp "$EXE_CENV" "$SHRTEXEPFX.cenv"
[[ -f "$EXE_CFG" && "$SHRTEXEPFX.wcfg" != "$EXE_CFG" ]] && \
try_cp "$EXE_CFG" "$SHRTEXEPFX.wcfg"
[[ -f "$EXE_CENV" && "$SHRTEXEPFX.cenv" != "$EXE_CENV" ]] && \
try_cp "$EXE_CENV" "$SHRTEXEPFX.cenv"
fi
[ -f "${LW_APPS_DIR}/${SHRT_NAME}.desktop" ] && \
print_info notify "Shortcut for '$SHRT_NAME' successfully created!"
Expand Down Expand Up @@ -1984,6 +1989,7 @@ check_def_wine() {
def_wine_selector() {
set -o pipefail
unset SETWINE
LOCWINELST="$(ls -1 -t "$LW_WINE_DIR" 2>/dev/null)"
export SETWINE="$(echo -e "\n$(echo "${LOCWINELST}$([ -n "$SYS_WINE" ] && echo -e '\nSystem')$([[ -n "$LU_EXE" \
&& ! -n "$FIRST_RUN" ]] && echo -e '\nDefault')"|sed ':a;N;$!ba;s/\n/\n\n/g')"|\
yad --window-icon="$LW_DEF_ICO" --title "Wine Manager" --column="" --column="Select default Wine:" \
Expand All @@ -2000,7 +2006,6 @@ check_def_wine() {
check_proton_d3dlib
print_info notify "Wine $SETWINE selected as default!"
}
LOCWINELST="$(ls -1 -t "$LW_WINE_DIR" 2>/dev/null)"
IGNWINE=(
'Default' 'SETWINE' 'System' 'Proton 7.0'
'Proton 8.0' 'Proton 9.0' 'Proton 9.0 (Beta)'
Expand Down Expand Up @@ -2057,6 +2062,7 @@ check_def_wine() {
fi
fi
done)
LOCWINELST="$(ls -1 -t "$LW_WINE_DIR" 2>/dev/null)"
if [[ ! -f "$WINE" && "$(echo "$LOCWINELST"|sedspaces|wc -l)" == 0 && -n "$SYS_WINE" ]]
then
print_info "System Wine found"
Expand Down Expand Up @@ -2504,7 +2510,8 @@ check_db_script() {
elif [ -f "$LWRAP_DEFPFXDOTNET" ]
then PFXRESTORE="$LWRAP_DEFPFXDOTNET"
else
if (try_download "$DEFPFXDOTNET_HF_URL" "$LW_DEF_WINEPFXBKP_DIR/"||\
if (try_download "$DEFPFXDOTNET_YC_URL" "$LW_DEF_WINEPFXBKP_DIR/"||\
try_download "$DEFPFXDOTNET_HF_URL" "$LW_DEF_WINEPFXBKP_DIR/"||\
try_download "$DEFPFXDOTNET_URL" "$LW_DEF_WINEPFXBKP_DIR/")
then PFXRESTORE="$LWDIR_DEFPFXDOTNET"
else exit 1
Expand Down Expand Up @@ -2533,7 +2540,8 @@ check_db_script() {
elif [ -f "$LWRAP_DEFPFX" ]
then PFXRESTORE="$LWRAP_DEFPFX"
else
if (try_download "$DEFPFX_HF_URL" "$LW_DEF_WINEPFXBKP_DIR/"||\
if (try_download "$DEFPFX_YC_URL" "$LW_DEF_WINEPFXBKP_DIR/"||\
try_download "$DEFPFX_HF_URL" "$LW_DEF_WINEPFXBKP_DIR/"||\
try_download "$DEFPFX_URL" "$LW_DEF_WINEPFXBKP_DIR/")
then PFXRESTORE="$LWDIR_DEFPFX"
else exit 1
Expand Down
4 changes: 2 additions & 2 deletions lwrap/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

pkgname='lwrap'
pkgver='0.78.3'
pkgrel='7'
pkgrel='8'
pkgdesc='Lux Wine wrapper for RunImage container'
arch=('x86_64')
url='https://github.com/VHSgunzo/lux-wine'
Expand Down Expand Up @@ -33,7 +33,7 @@ depends=(
'dos2unix' 'lw-runtime' 'wine-gecko' 'wine-mono' 'libdvdread' 'a52dec' 'wavpack' 'lib32-wavpack'
'libmpeg2' 'twolame' 'lib32-twolame' 'gst-plugin-msdk' 'lib32-libdv' 'libdv' 'GE-Proton'
'xxd-standalone' 'obs-vkcapture-lw' 'lib32-obs-vkcapture-lw' 'egl-wayland' 'gstreamer-vaapi'
'moninfo' 'perl-image-exiftool' 'xorg-xlsfonts' 'chromium'
'moninfo' 'perl-image-exiftool' 'xorg-xlsfonts' 'firefox'
)
optdepends=(
'xf86-video-amdgpu' 'xf86-video-intel' 'llvm'
Expand Down
Loading

0 comments on commit a4dfbf2

Please sign in to comment.