Silent extraction

This commit is contained in:
Thomas Krijnen
2026-05-08 20:18:31 +02:00
parent e7249fe934
commit 12935c83de
4 changed files with 18 additions and 38 deletions
+4 -1
View File
@@ -141,7 +141,10 @@ function extract_file {
return
}
. $cecho 0 13 "Extracting $dependency_name into '$destination_dir' from '$filename'."
7za x "$filename" -o"$destination_dir"
7z x -bso0 -bsp0 "$filename" -o"$destination_dir"
if ($LASTEXITCODE -ne 0) {
throw "Failed to extract '$filename' for '$dependency_name' with 7z exit code $LASTEXITCODE."
}
}