Do not show extract progress on Windows when unzip is used

This commit is contained in:
Slava 2024-11-17 11:14:58 +02:00
parent d4c534bb37
commit c6c08460a6
No known key found for this signature in database
GPG Key ID: 351E7AA9BD0DFEB8

View File

@ -167,7 +167,7 @@ for ARCHIVE in "${ARCHIVES[@]}"; do
if [[ "${OS}" == "windows" ]]; then
if unzip -v &> /dev/null; then
unzip -o "${TEMP_DIR}/${FILE_NAME}" -d "${TEMP_DIR}"
unzip -q -o "${TEMP_DIR}/${FILE_NAME}" -d "${TEMP_DIR}"
[[ $? -ne 0 ]] && show_fail "${message}"
else
C:/Windows/system32/tar.exe -xzf "${TEMP_DIR}/${FILE_NAME}" -C "${TEMP_DIR}"