From e6ea44a216124eb8fac48cf559bc1f9abc067ae2 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Tue, 23 Jul 2024 18:52:57 +0200 Subject: [PATCH] Rename winpe iso variable --- deploy.fish | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/deploy.fish b/deploy.fish index 6df71e4..463bf91 100644 --- a/deploy.fish +++ b/deploy.fish @@ -12,7 +12,7 @@ begin set -l setupLabel "winiso-valhalla" set -l buildDir "$(status dirname)/build" set -l cacheDir ~/.cache/winiso-valhalla - set -l isoFile "$buildDir/win.iso" + set -l winpe "$cacheDir/winpe.iso" set -l winPath "/media/win" set -l winpePath "/media/winpe" set -l valhallaPath "/media/winiso-valhalla" @@ -91,11 +91,11 @@ begin cp -r "$dir/winfs"/* "$winpeOverlay" - mkdir -p "$(dirname "$isoFile")" + mkdir -p "$(dirname "$winpe")" sudo mount --mkdir "$WIN11_IMAGE_PATH" "$winPath" - mkwinpeimg --iso --arch amd64 --overlay "$winpeOverlay" --windows-dir "$winPath" "$isoFile" + mkwinpeimg --iso --arch amd64 --overlay "$winpeOverlay" --windows-dir "$winPath" "$winpe" rm -rf "$winpeOverlay" - sudo mount --mkdir "$isoFile" "$winpePath" + sudo mount --mkdir "$winpe" "$winpePath" begin echo "$wimFile"