diff --git a/scripts/windows_build_setup.ps1 b/scripts/windows_build_setup.ps1 index 3dd5a656cd..3906aa52b9 100644 --- a/scripts/windows_build_setup.ps1 +++ b/scripts/windows_build_setup.ps1 @@ -15,13 +15,15 @@ function Install-Scoop { # Install Git and other dependencies function Install-Dependencies { Write-Host "Installing dependencies..." + if (!(scoop bucket list | Where { $_.Name -eq "extras" })) { + scoop bucket add extras + } scoop install --global go@1.20.4 + scoop install --global vcredist2022 scoop install --global ` 7zip git dos2unix findutils ` wget rcedit inno-setup ` make cmake gcc - scoop bucket add extras - scoop install --global vcredist2019 } function Install-Qt-SDK { @@ -68,7 +70,7 @@ export VCINSTALLDIR="/c/BuildTools/VC" You might also have to include the following paths in your `$PATH: export PATH=`"/c/BuildTools/MSBuild/Current/Bin:`$PATH`" -export PATH=`"/c/BuildTools/VC/Tools/MSVC/14.27.29110/bin:`$PATH`" +export PATH=`"/c/BuildTools/VC/Tools/MSVC/14.29.30133/bin:`$PATH`" export PATH=`"/c/ProgramData/scoop/apps/inno-setup/current:`$PATH`" "@ }