Spaces:
Configuration error
Configuration error
VHSgunzo commited on
Commit ·
b81535f
1
Parent(s): 835440d
Fix prefix restore on first run with -init
Browse files- CHANGELOG.md +6 -0
- lux-wine +1 -2
- lwrap/PKGBUILD +1 -1
- lwrap/lwrap.install +10 -2
- main.zip +2 -2
CHANGELOG.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# v0.78.2.2
|
| 2 |
|
| 3 |
* Add ability to create config for `msi`, `reg`, `bat` and `lnk`
|
|
|
|
| 1 |
+
# v0.78.2.3
|
| 2 |
+
|
| 3 |
+
* Update [lwrun](https://huggingface.co/lux-wine/lwrun/tree/main/releases/v0.39.1) packages
|
| 4 |
+
* Revert/replace `mesa-tkg-git` with `mesa` in `lwrun`
|
| 5 |
+
* Fix prefix restore on first run with `-init`
|
| 6 |
+
|
| 7 |
# v0.78.2.2
|
| 8 |
|
| 9 |
* Add ability to create config for `msi`, `reg`, `bat` and `lnk`
|
lux-wine
CHANGED
|
@@ -6205,8 +6205,7 @@ lu_pfxrestore() {
|
|
| 6205 |
[ "$DEFPFXRESTORE" == 1 ] && \
|
| 6206 |
PFXRESTORE_MSG="The default prefix is not initialized! \nDo you want to restore the default prefix from the backup?"||\
|
| 6207 |
PFXRESTORE_MSG="Are you sure you want to restore this prefix backup image?"
|
| 6208 |
-
if [
|
| 6209 |
-
[[ "$DEFPFXRESTORE" == 1 && "$FIRST_RUN" == 1 ]]||\
|
| 6210 |
print_question "Prefix restore" "${PFXRESTORE_MSG}\n[ $LU_LWPFX ]"
|
| 6211 |
then
|
| 6212 |
pfxrestore||return 1
|
|
|
|
| 6205 |
[ "$DEFPFXRESTORE" == 1 ] && \
|
| 6206 |
PFXRESTORE_MSG="The default prefix is not initialized! \nDo you want to restore the default prefix from the backup?"||\
|
| 6207 |
PFXRESTORE_MSG="Are you sure you want to restore this prefix backup image?"
|
| 6208 |
+
if ([ "$DEFPFXRESTORE" == 1 ] && (is_first_run||[ "$NETSTATUS" == 0 ]))||\
|
|
|
|
| 6209 |
print_question "Prefix restore" "${PFXRESTORE_MSG}\n[ $LU_LWPFX ]"
|
| 6210 |
then
|
| 6211 |
pfxrestore||return 1
|
lwrap/PKGBUILD
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
|
| 3 |
pkgname='lwrap'
|
| 4 |
pkgver='0.78.2'
|
| 5 |
-
pkgrel='
|
| 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.78.2'
|
| 5 |
+
pkgrel='3'
|
| 6 |
pkgdesc='Lux Wine wrapper for RunImage container'
|
| 7 |
arch=('x86_64')
|
| 8 |
url='https://github.com/VHSgunzo/lux-wine'
|
lwrap/lwrap.install
CHANGED
|
@@ -37,8 +37,16 @@ post_upgrade() {
|
|
| 37 |
pac -Q zenity 2>/dev/null|grep -q '4.0.0' && \
|
| 38 |
pkg_tool 'yes|sudo downgrade zenity=3.44.2'
|
| 39 |
|
| 40 |
-
pac -Q mesa
|
| 41 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
|
| 43 |
return 0
|
| 44 |
}
|
|
|
|
| 37 |
pac -Q zenity 2>/dev/null|grep -q '4.0.0' && \
|
| 38 |
pkg_tool 'yes|sudo downgrade zenity=3.44.2'
|
| 39 |
|
| 40 |
+
if pac -Q lib32-mesa-tkg-git &>/dev/null
|
| 41 |
+
then
|
| 42 |
+
pkg_tool 'yes|pac -Rsndd mesa-tkg-git lib32-mesa-tkg-git'
|
| 43 |
+
pkg_tool 'yes|pac -S mesa vulkan-swrast libva-mesa-driver mesa-vdpau vulkan-mesa-layers \
|
| 44 |
+
vulkan-intel vulkan-radeon lib32-mesa lib32-vulkan-swrast lib32-libva-mesa-driver \
|
| 45 |
+
lib32-mesa-vdpau lib32-vulkan-mesa-layers lib32-vulkan-intel lib32-vulkan-radeon'
|
| 46 |
+
fi
|
| 47 |
+
|
| 48 |
+
pac -Q vulkan-virtio &>/dev/null && \
|
| 49 |
+
pkg_tool 'yes|pac -Rdd vulkan-virtio lib32-vulkan-virtio'
|
| 50 |
|
| 51 |
return 0
|
| 52 |
}
|
main.zip
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6c69dab5b31a95e876b9826fa511ec4e61990f4cfc979688a9d5b379596b803b
|
| 3 |
+
size 576081
|