mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Try to locate dotnet before installing it (#5059)
This commit is contained in:
@@ -1412,6 +1412,9 @@ function Start-PSBootstrap {
|
||||
}
|
||||
}
|
||||
|
||||
# Try to locate dotnet-SDK before installing it
|
||||
Find-Dotnet
|
||||
|
||||
# Install dotnet-SDK
|
||||
$dotNetExists = precheck 'dotnet' $null
|
||||
$dotNetVersion = [string]::Empty
|
||||
|
||||
Reference in New Issue
Block a user