Skip to content

Commit

Permalink
7zip in w_try_unzip needs -y flag to autoconfirm
Browse files Browse the repository at this point in the history
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
  • Loading branch information
GloriousEggroll authored and austin987 committed Feb 7, 2024
1 parent 6e1aa1e commit 3b166b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/winetricks
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,7 @@ w_try_7z()
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 "${filename}")" -o"$(w_pathconv -w "${destdir}")" "$@"
w_try "${WINE}" "${W_PROGRAMS_X86_WIN}\\7-Zip\\7z.exe" x "$(w_pathconv -w "${filename}")" -y -o"$(w_pathconv -w "${destdir}")" "$@"
fi
}

Expand Down

0 comments on commit 3b166b4

Please sign in to comment.