Allow specifying winiso build type

This commit is contained in:
Manuel Thalmann 2024-08-16 15:13:33 +02:00
parent 4e97645eea
commit 87c3ebcad8
2 changed files with 4 additions and 1 deletions

View file

@ -13,6 +13,9 @@ begin
sed "s/\//\\\\/g" sed "s/\//\\\\/g"
end end
argparse --name (status filename) -x "iso,usb" "iso" "usb" -- $argv
or exit 1
set -l setupLabel "winiso-valhalla" set -l setupLabel "winiso-valhalla"
set -l projectPath "PortValhalla" set -l projectPath "PortValhalla"
set -l systemDrivePath "sources/\$OEM\$/\$1" set -l systemDrivePath "sources/\$OEM\$/\$1"

View file

@ -19,7 +19,7 @@ then
echo "Please specify the path to the Windows 11 ISO image in your .env file located at:"; echo "Please specify the path to the Windows 11 ISO image in your .env file located at:";
realpath --relative-to "$workingDir" "$(realpath .env)"; realpath --relative-to "$workingDir" "$(realpath .env)";
else else
WIN11_IMAGE_PATH="$WIN11_IMAGE_PATH" fish ./deploy.fish; WIN11_IMAGE_PATH="$WIN11_IMAGE_PATH" fish ./deploy.fish $@;
fi; fi;
popd > /dev/null; popd > /dev/null;