Skip to content

Commit 4482bc8

Browse files
committed
Correcao da instalacao do chocolatey
1 parent 767164a commit 4482bc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install_coops_python.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def executarscripts(values):
6262

6363
if values['chocoinstall']:
6464
print("Executando chocolatey")
65-
subprocess.call('@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "[System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString(\'https://chocolatey.org/install.ps1\'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"', shell=True)
65+
subprocess.call('@"%SystemRoot%\System32\WindowsPowerShell\\v1.0\\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "[System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString(\'https://chocolatey.org/install.ps1\'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"', shell=True)
6666

6767
for descricao, comando in programas.items():
6868
if values[comando]:

0 commit comments

Comments
 (0)