Allow specifying winiso
build type
This commit is contained in:
parent
4e97645eea
commit
87c3ebcad8
2 changed files with 4 additions and 1 deletions
|
@ -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"
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue