Skip to content

Commit f029706

Browse files
authored
Update setup-windows.bat
1 parent cbf67d7 commit f029706

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

setup-windows.bat

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -69,14 +69,7 @@ IF NOT !errorlevel! EQU 0 (
6969
ECHO Installing chocolatey...
7070
@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) >$null 2>&1" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
7171
CALL :CHECK_FAIL
72-
IF EXIST C:\ProgramData\chocolatey\bin (
73-
for /f %%i in ('echo "%PATH: =%"') do set STR_PATH=%%i
74-
if not x%STR_PATH:chocolatey=%==x%STR_PATH% (
75-
echo .
76-
echo It appears that chocolatey did not make it in to the PATH, please reopen this admin window or please add C:\ProgramData\chocolatey\bin to the PATH manually
77-
echo .
78-
)
79-
)
72+
8073

8174
)
8275
GOTO :eof

0 commit comments

Comments
 (0)