mirror of
https://github.com/ValdikSS/windows2usb.git
synced 2023-08-10 21:13:16 +03:00
Fix detection of install.wim > 4GiB
This commit is contained in:
parent
618f507a0a
commit
208609e09c
@ -40,7 +40,7 @@ function format_drive() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function check_installwim_gt4gib() {
|
function check_installwim_gt4gib() {
|
||||||
7z l "$1" | awk '($6 ~ /install.wim/) {if ($4 > 429496296) {exit 1}; exit}'
|
7z l "$1" | awk '($6 ~ /install.wim/) {if ($4 > 4294967296) {exit 0}; exit 1}'
|
||||||
}
|
}
|
||||||
|
|
||||||
function create_partitions() {
|
function create_partitions() {
|
||||||
|
Loading…
Reference in New Issue
Block a user