early-access version 2853
This commit is contained in:
21
externals/vcpkg/scripts/azure-pipelines/windows/deploy-settings.txt
vendored
Executable file
21
externals/vcpkg/scripts/azure-pipelines/windows/deploy-settings.txt
vendored
Executable file
@@ -0,0 +1,21 @@
|
||||
$ErrorActionPreference = 'Stop'
|
||||
$ProgressPreference = 'SilentlyContinue'
|
||||
|
||||
Write-Host 'Disabling pagefile...'
|
||||
wmic computersystem set AutomaticManagedPagefile=False
|
||||
wmic pagefileset delete
|
||||
|
||||
$av = Get-Command Add-MPPreference -ErrorAction SilentlyContinue
|
||||
if ($null -eq $av) {
|
||||
Write-Host 'AntiVirus not installed, skipping exclusions.'
|
||||
} else {
|
||||
Write-Host 'Configuring AntiVirus exclusions...'
|
||||
Add-MpPreference -ExclusionPath C:\agent
|
||||
Add-MPPreference -ExclusionPath D:\
|
||||
Add-MPPreference -ExclusionPath E:\
|
||||
Add-MPPreference -ExclusionProcess ninja.exe
|
||||
Add-MPPreference -ExclusionProcess clang-cl.exe
|
||||
Add-MPPreference -ExclusionProcess cl.exe
|
||||
Add-MPPreference -ExclusionProcess link.exe
|
||||
Add-MPPreference -ExclusionProcess python.exe
|
||||
}
|
Reference in New Issue
Block a user