diff --git a/appveyor-build.bat b/appveyor-build.bat index 58cdfbcdf..25912847c 100644 --- a/appveyor-build.bat +++ b/appveyor-build.bat @@ -3,3 +3,8 @@ set PATH=C:\msys64\mingw64\bin;C:\msys64\usr\bin;%PATH% REM Run MSYS script bash -c ./appveyor-build.sh + +REM Check if this build should set up a debugging session +IF "%ENABLE_RDP%"=="1" ( + powershell $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1')) +)