mirror of
https://github.com/We-Dont-Byte/Mind_Reader.git
synced 2024-11-15 03:35:59 +00:00
Fix fresh install (Path was out of date)
This commit is contained in:
parent
2948765ba8
commit
0634a90f58
@ -64,7 +64,6 @@ if ($h -or $Help) {
|
|||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
# .description
|
# .description
|
||||||
# Command-Available: Checks whether a given command is available.
|
# Command-Available: Checks whether a given command is available.
|
||||||
# If command is available, returns $false
|
# If command is available, returns $false
|
||||||
@ -165,6 +164,7 @@ cd $SetupPath
|
|||||||
$args = if ($AllowAdministrator) {" -AllowAdministrator"} else {""}
|
$args = if ($AllowAdministrator) {" -AllowAdministrator"} else {""}
|
||||||
$args += if ($DryRun) {" -DryRun"} else {""}
|
$args += if ($DryRun) {" -DryRun"} else {""}
|
||||||
PowerShell ("./upgrade-windows.ps1 -Install -NoPrompt" + $args)
|
PowerShell ("./upgrade-windows.ps1 -Install -NoPrompt" + $args)
|
||||||
|
Reload-Path
|
||||||
|
|
||||||
# Open VSCode in the repository location
|
# Open VSCode in the repository location
|
||||||
Write-Host "`nOpening Visual Studio Code"
|
Write-Host "`nOpening Visual Studio Code"
|
||||||
|
Loading…
Reference in New Issue
Block a user