mirror of
https://github.com/ValdikSS/windows2usb.git
synced 2023-08-10 21:13:16 +03:00
Final fix for wim file size detection
This commit is contained in:
parent
2af0bed0df
commit
905f95ae7b
@ -64,7 +64,7 @@ function get_iso_name() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function check_installwim_gt4gib() {
|
function check_installwim_gt4gib() {
|
||||||
7z l "$1" | awk '($6 ~ /install.wim/) {if ($4 > 4294967296) {exit 0}; exit 1} END {exit 1}'
|
7z l "$1" | awk 'BEGIN {doend=1} ($6 ~ /install.wim/) {if ($4 > 4294967296) {doend=0; exit 0}; doend=0; exit 1} END {if (doend) {exit 1}}'
|
||||||
}
|
}
|
||||||
|
|
||||||
function create_partitions() {
|
function create_partitions() {
|
||||||
|
Loading…
Reference in New Issue
Block a user