From 47d2d2294cc06b5a7b086e36572623e891a51b9c Mon Sep 17 00:00:00 2001 From: Kroese Date: Fri, 10 May 2024 21:26:10 +0200 Subject: [PATCH] feat: Faster ESD extraction (#484) --- 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 bab0755..64a72ad 100644 --- a/src/install.sh +++ b/src/install.sh @@ -523,7 +523,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} } @@ -531,7 +531,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 e21f37c..3b61825 100644 --- a/src/power.sh +++ b/src/power.sh @@ -57,7 +57,7 @@ ready() { return 1 fi - local line="Windows Boot Manager" + local line="\"Windows Boot Manager\"" if grep -Fq "$line" "$QEMU_PTY"; then return 0 fi