mirror of
https://github.com/codex-storage/get-codex.git
synced 2025-02-22 14:08:09 +00:00
Do not show extract progress on Windows when unzip is used (#20)
This commit is contained in:
parent
d4c534bb37
commit
fc00519885
@ -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}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user