From 9fed852ba0f6959692b1ea41dd6070a89b5795ad Mon Sep 17 00:00:00 2001 From: VHSgunzo Date: Sun, 12 May 2024 18:09:53 +0300 Subject: [PATCH] v0.78.4.9 --- CHANGELOG.md | 5 +++++ db/launcher.lwdb | 5 +++-- lux-wine | 2 +- lwrap/PKGBUILD | 2 +- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bd662cf..c6b03d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +# v0.78.4.9 + +* Update [lwrun](https://huggingface.co/lux-wine/lwrun/tree/main/releases/v0.39.1) packages +* Update DB script for `Honkai: Star Rail` + # v0.78.4.8 * Update [lwrun](https://huggingface.co/lux-wine/lwrun/tree/main/releases/v0.39.1) packages diff --git a/db/launcher.lwdb b/db/launcher.lwdb index dda4ac8..854416b 100644 --- a/db/launcher.lwdb +++ b/db/launcher.lwdb @@ -3,7 +3,8 @@ #DB# Honkai: Star Rail # DB_EXES=('launcher.exe') !'StarRail.exe' srlauncher() { - SR_PATCH_VER=v3.1.2 + SR_PATCH_URL="https://codeberg.org/mkrsym1/jadeite/releases" + SR_PATCH_VER="$(curl -sL "$SR_PATCH_URL" 2>/dev/null|grep -o '>v[0-9].*[0-9]<'|sed 's|<||g;s|>||g'|head -1)" SR_PATCH_DIR="$LW_DEF_TMP/srpatch_$SR_PATCH_VER" EXE_DRIVE="$(grep -oi '[a-z]:'<<<"$LU_EXE")" SRLAUNCHER="$EXE_DRIVE\\$(sed 's|.*/[a-z]:||i;s|\/|\\|g'<<<"$LU_EXE")" @@ -17,7 +18,7 @@ srlauncher() { fi if [ ! -f "${EXE_WRAPPER[0]}" ] then - if ! (try_download "https://codeberg.org/mkrsym1/jadeite/releases/download/$SR_PATCH_VER/$SR_PATCH_VER.zip" "$LW_DEF_TMP" && \ + if ! (try_download "$SR_PATCH_URL/download/$SR_PATCH_VER/$SR_PATCH_VER.zip" "$LW_DEF_TMP" && \ unzip "$LW_DEF_TMP/$SR_PATCH_VER.zip" -d "$SR_PATCH_DIR") then try_rm "$SR_PATCH_DIR" &>/dev/null diff --git a/lux-wine b/lux-wine index 64e6cb6..2024182 100755 --- a/lux-wine +++ b/lux-wine @@ -1,6 +1,6 @@ #!/usr/bin/env bash -export LW_VERSION="0.78.4.8" +export LW_VERSION="0.78.4.9" export LW_DEVELOPERS="VHSgunzo" export RED='\033[1;91m' diff --git a/lwrap/PKGBUILD b/lwrap/PKGBUILD index dc2680a..c0310b5 100644 --- a/lwrap/PKGBUILD +++ b/lwrap/PKGBUILD @@ -2,7 +2,7 @@ pkgname='lwrap' pkgver='0.78.4' -pkgrel='8' +pkgrel='9' pkgdesc='Lux Wine wrapper for RunImage container' arch=('x86_64') url='https://github.com/VHSgunzo/lux-wine'