From 912cefccf30140a8e95f3077ac9551bba77cc6eb Mon Sep 17 00:00:00 2001 From: Kroese Date: Fri, 10 May 2024 21:30:25 +0200 Subject: [PATCH] feat: Faster ESD extraction (#106) --- src/install.sh | 4 ++-- src/power.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/install.sh b/src/install.sh index 643b20d..e18f7db 100644 --- a/src/install.sh +++ b/src/install.sh @@ -486,7 +486,7 @@ extractESD() { local msg="Extracting $desc environment..." info "$msg" && html "$msg" - wimlib-imagex export "$iso" 2 "$bootWimFile" --compress=LZX --chunk-size 32K --quiet || { + wimlib-imagex export "$iso" 2 "$bootWimFile" --compress=none --quiet || { retVal=$? error "Adding WinPE failed" && return ${retVal} } @@ -494,7 +494,7 @@ extractESD() { local msg="Extracting $desc setup..." info "$msg" && html "$msg" - wimlib-imagex export "$iso" 3 "$bootWimFile" --compress=LZX --chunk-size 32K --boot --quiet || { + wimlib-imagex export "$iso" 3 "$bootWimFile" --compress=none --boot --quiet || { retVal=$? error "Adding Windows Setup failed" && return ${retVal} } diff --git a/src/power.sh b/src/power.sh index f68b70f..1ce6232 100644 --- a/src/power.sh +++ b/src/power.sh @@ -43,7 +43,7 @@ ready() { [ -f "$STORAGE/windows.boot" ] && return 0 [ ! -s "$QEMU_PTY" ] && return 1 - local line="Windows Boot Manager" + local line="\"Windows Boot Manager\"" if grep -Fq "$line" "$QEMU_PTY"; then return 0 fi