From 4e6bad8ebef3790c7406fe839e50e11fc9e2c72d Mon Sep 17 00:00:00 2001
From: MrMeeb <mrmeeb@noreply.git.mrmeeb.stream>
Date: Tue, 6 Aug 2024 18:28:06 +0100
Subject: [PATCH] Tweak extraction of boot.zip

---
 payload/run.ps1 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/payload/run.ps1 b/payload/run.ps1
index c28937a..1f1145c 100644
--- a/payload/run.ps1
+++ b/payload/run.ps1
@@ -10,7 +10,7 @@ $ProgressPreference = 'SilentlyContinue'
 Invoke-WebRequest -Uri $RemoteURL/boot.zip -OutFile $StagingDir\boot.zip
 
 # Expand boot.zip to C:\Boot
-Expand-Archive -Path $StagingDir\boot.zip -DestinationPath C:\boot -Force
+Expand-Archive -Path $StagingDir\boot.zip -DestinationPath C:\ -Force
 
 # Download WinPE wim to C:\Sources\boot.wim
 New-Item -ItemType "Directory" -Path C:\Sources -Force