redirect winget output
This commit is contained in:
@@ -18,7 +18,7 @@ if %errorlevel% NEQ 0 (
|
||||
where go.exe >nul 2>&1
|
||||
if %errorlevel% NEQ 0 (
|
||||
echo Installing Go with Winget
|
||||
winget install GoLang.Go --accept-source-agreements --accept-package-agreements
|
||||
winget install GoLang.Go --accept-source-agreements --accept-package-agreements >nul 2>&1
|
||||
set REFRESHENV=1
|
||||
) else (
|
||||
echo Go executable found
|
||||
@@ -27,7 +27,7 @@ if %errorlevel% NEQ 0 (
|
||||
where git.exe >nul 2>&1
|
||||
if %errorlevel% NEQ 0 (
|
||||
echo Installing Git with Winget
|
||||
winget install Git.Git --accept-source-agreements --accept-package-agreements
|
||||
winget install Git.Git --accept-source-agreements --accept-package-agreements >nul 2>&1
|
||||
set REFRESHENV=1
|
||||
) else (
|
||||
echo Git executable found
|
||||
|
Reference in New Issue
Block a user