Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Validation: Use validation path in case windows path in used
Current validation fails in case of windows path `C:\<path>` because url able to parse it and provide `C` as scheme which result to following error ``` $ .\crc.exe setup -b C:\Users\prkumar\Downloads\crc_hyperv_4.11.1_amd64.crcbundle invalid C:\Users\prkumar\Downloads\crc_hyperv_4.11.1_amd64.crcbundle format (only supported http, https or docker) ``` This patch is make an assumption that in case of uri.scheme is single letter than it might be windows path and run validation path of it. As per MS document driver name shouldn't be more than single letter. https://learn.microsoft.com/en-us/windows-hardware/customize/desktop/unattend/microsoft-windows-setup-diskconfiguration-disk-modifypartitions-modifypartition-letter
- Loading branch information