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"