--accept-source-agreements --accept-package-agreements

This commit is contained in:
2025-01-19 18:02:49 +01:00
parent 5e062cc429
commit 581e856e50

View File

@@ -18,7 +18,7 @@ if %errorlevel% NEQ 0 (
where go.exe >nul 2>&1 where go.exe >nul 2>&1
if %errorlevel% NEQ 0 ( if %errorlevel% NEQ 0 (
echo Installing Go with Winget echo Installing Go with Winget
winget install GoLang.Go winget install GoLang.Go --accept-source-agreements --accept-package-agreements
set REFRESHENV=1 set REFRESHENV=1
) else ( ) else (
echo Go executable found echo Go executable found
@@ -27,7 +27,7 @@ if %errorlevel% NEQ 0 (
where git.exe >nul 2>&1 where git.exe >nul 2>&1
if %errorlevel% NEQ 0 ( if %errorlevel% NEQ 0 (
echo Installing Git with Winget echo Installing Git with Winget
winget install Git.Git winget install Git.Git --accept-source-agreements --accept-package-agreements
set REFRESHENV=1 set REFRESHENV=1
) else ( ) else (
echo Git executable found echo Git executable found