Fix fresh install (Path was out of date)

This commit is contained in:
John 2022-04-27 11:55:09 -05:00
parent 2948765ba8
commit 0634a90f58

View File

@ -64,7 +64,6 @@ if ($h -or $Help) {
exit
}
# .description
# Command-Available: Checks whether a given command is available.
# If command is available, returns $false
@ -165,6 +164,7 @@ cd $SetupPath
$args = if ($AllowAdministrator) {" -AllowAdministrator"} else {""}
$args += if ($DryRun) {" -DryRun"} else {""}
PowerShell ("./upgrade-windows.ps1 -Install -NoPrompt" + $args)
Reload-Path
# Open VSCode in the repository location
Write-Host "`nOpening Visual Studio Code"