mirror of
https://github.com/msvc-win/get.msvc.win.git
synced 2025-12-14 12:17:40 +00:00
Fix typo
This commit is contained in:
parent
2b20e0ab7d
commit
0a96eae418
2 changed files with 2 additions and 2 deletions
2
dx
2
dx
|
|
@ -26,7 +26,7 @@ function Main {
|
|||
if (-not $IsAdmin) {
|
||||
Write-Host "Elevation required. Relaunching..."
|
||||
$tempScript = [IO.Path]::ChangeExtension([IO.Path]::GetTempFileName(), ".ps1")
|
||||
Invoke-WebRequest -Uri "https://get.msvc.win/" -OutFile $tempScript
|
||||
Invoke-WebRequest -Uri "https://get.msvc.win/dx" -OutFile $tempScript
|
||||
Start-Process powershell -Verb RunAs -ArgumentList "-NoProfile -ExecutionPolicy Bypass -File `"$tempScript`""
|
||||
Start-Sleep -Seconds 10
|
||||
if (-Not (Test-Path $flagPath)) {
|
||||
|
|
|
|||
2
net35
2
net35
|
|
@ -26,7 +26,7 @@ function Main {
|
|||
if (-not $IsAdmin) {
|
||||
Write-Host "Elevation required. Relaunching..."
|
||||
$tempScript = [IO.Path]::ChangeExtension([IO.Path]::GetTempFileName(), ".ps1")
|
||||
Invoke-WebRequest -Uri "https://get.msvc.win/" -OutFile $tempScript
|
||||
Invoke-WebRequest -Uri "https://get.msvc.win/net35" -OutFile $tempScript
|
||||
Start-Process powershell -Verb RunAs -ArgumentList "-NoProfile -ExecutionPolicy Bypass -File `"$tempScript`""
|
||||
Start-Sleep -Seconds 10
|
||||
if (-Not (Test-Path $flagPath)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue