Allow specifying winiso build type

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

View file

@ -13,6 +13,9 @@ begin
sed "s/\//\\\\/g"
end
argparse --name (status filename) -x "iso,usb" "iso" "usb" -- $argv
or exit 1
set -l setupLabel "winiso-valhalla"
set -l projectPath "PortValhalla"
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:";
realpath --relative-to "$workingDir" "$(realpath .env)";
else
WIN11_IMAGE_PATH="$WIN11_IMAGE_PATH" fish ./deploy.fish;
WIN11_IMAGE_PATH="$WIN11_IMAGE_PATH" fish ./deploy.fish $@;
fi;
popd > /dev/null;