From c87262389592edf1043bfb685ae89769a6e80005 Mon Sep 17 00:00:00 2001 From: GloriousEggroll Date: Sun, 28 Jan 2024 18:19:09 -0700 Subject: [PATCH] 7zip in w_try_unzip needs -y flag to autoconfirm Otherwise it fails due to not receiving a response: Would you like to replace the existing file: Path: C:\windows\syswow64\ddraw.dll Size: 1053865 bytes (1030 KiB) Modified: 2024-01-28 17:55:30 with the file from archive: Path: ddraw.dll Size: 316928 bytes (310 KiB) Modified: 2023-01-16 21:18:30 ? (Y)es / (N)o / (A)lways / (S)kip all / A(u)to rename all / (Q)uit? Archives with Errors: 1 pending PR: https://github.com/Winetricks/winetricks/pull/2182 --- winetricks | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/winetricks b/winetricks index b34cba93..5d5c346e 100755 --- a/winetricks +++ b/winetricks @@ -940,7 +940,7 @@ w_try_unzip() w_try_cd "${PWD}" # errors out if there is a space between -o and path - w_try "${WINE}" "${W_PROGRAMS_X86_WIN}\\7-Zip\\7z.exe" x "$(w_pathconv -w "${zipfile}")" -o"$(w_pathconv -w "${destdir}")" "$@" + w_try "${WINE}" "${W_PROGRAMS_X86_WIN}\\7-Zip\\7z.exe" x "$(w_pathconv -w "${zipfile}")" -y -o"$(w_pathconv -w "${destdir}")" "$@" } ### End of w_try ###