mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
tools: make choco install
script more readable
PR-URL: https://github.com/nodejs/node/pull/54002 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Stefan Stojanovic <stefan.stojanovic@janeasystems.com>
This commit is contained in:
parent
23743f63fb
commit
e8127db032
@ -52,4 +52,15 @@ pause
|
||||
|
||||
cls
|
||||
|
||||
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command Start-Process '%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe' -ArgumentList '-NoProfile -InputFormat None -ExecutionPolicy Bypass -Command [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; iex ((New-Object System.Net.WebClient).DownloadString(''https://chocolatey.org/install.ps1'')); choco upgrade -y python visualstudio2019-workload-vctools; Read-Host ''Type ENTER to exit'' ' -Verb RunAs
|
||||
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" ^
|
||||
-NoProfile ^
|
||||
-InputFormat None ^
|
||||
-ExecutionPolicy Bypass ^
|
||||
-Command Start-Process ^
|
||||
'%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe' ^
|
||||
-ArgumentList '-NoProfile -InputFormat None -ExecutionPolicy Bypass -Command ^
|
||||
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; ^
|
||||
iex ((New-Object System.Net.WebClient).DownloadString(''https://chocolatey.org/install.ps1'')); ^
|
||||
choco upgrade -y python visualstudio2019-workload-vctools; ^
|
||||
Read-Host ''Type ENTER to exit'' ' ^
|
||||
-Verb RunAs
|
||||
|
Loading…
Reference in New Issue
Block a user