diff --git a/winiso/deploy.fish b/winiso/deploy.fish index de09f8c6..db91b9f8 100755 --- a/winiso/deploy.fish +++ b/winiso/deploy.fish @@ -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" diff --git a/winiso/deploy.sh b/winiso/deploy.sh index 8841a54a..142bc93f 100755 --- a/winiso/deploy.sh +++ b/winiso/deploy.sh @@ -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;