From 15da4f089034cf4ec4a6ef9cb050870f3045f7a9 Mon Sep 17 00:00:00 2001 From: m1m1k4tz <83061466+m1m1k4tz@users.noreply.github.com> Date: Sun, 17 Nov 2024 21:04:41 -0500 Subject: [PATCH] Update README.md Reduce the lines of code in the uninstall section --- README.md | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 2b2cb94ea..2421210d0 100644 --- a/README.md +++ b/README.md @@ -44,16 +44,7 @@ In order to remove DXVK from a prefix, remove the DLLs and DLL overrides, and ru In a default Wine prefix that would be as follows: ``` export WINEPREFIX=/path/to/wineprefix -rm $WINEPREFIX/drive_c/windows/system32/d3d8.dll -rm $WINEPREFIX/drive_c/windows/system32/d3d9.dll -rm $WINEPREFIX/drive_c/windows/system32/d3d10core.dll -rm $WINEPREFIX/drive_c/windows/system32/d3d11.dll -rm $WINEPREFIX/drive_c/windows/system32/dxgi.dll -rm $WINEPREFIX/drive_c/windows/syswow64/d3d8.dll -rm $WINEPREFIX/drive_c/windows/syswow64/d3d9.dll -rm $WINEPREFIX/drive_c/windows/syswow64/d3d10core.dll -rm $WINEPREFIX/drive_c/windows/syswow64/d3d11.dll -rm $WINEPREFIX/drive_c/windows/syswow64/dxgi.dll +rm -f $WINEPREFIX/drive_c/windows/{system32,syswow64}/d{3d8,3d9,3d10core,3d11,xgi}.dll wine wineboot -u wine reg delete 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v "d3d8" /d native,builtin /f >/dev/null 2>&1 wine reg delete 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v "d3d9" /d native,builtin /f >/dev/null 2>&1 @@ -65,11 +56,7 @@ wine reg delete 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v "dxgi" /d nati For a pure 32-bit Wine prefix (non default) that would be as follows: ``` export WINEPREFIX=/path/to/wineprefix -rm $WINEPREFIX/drive_c/windows/system32/d3d8.dll -rm $WINEPREFIX/drive_c/windows/system32/d3d9.dll -rm $WINEPREFIX/drive_c/windows/system32/d3d10core.dll -rm $WINEPREFIX/drive_c/windows/system32/d3d11.dll -rm $WINEPREFIX/drive_c/windows/system32/dxgi.dll +rm -f $WINEPREFIX/drive_c/windows/system32/d{3d8,3d9,3d10core,3d11,xgi}.dll wine wineboot -u wine reg delete 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v "d3d8" /d native,builtin /f >/dev/null 2>&1 wine reg delete 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v "d3d9" /d native,builtin /f >/dev/null 2>&1