[Windows] Clean install_user Temp directory (#6529)

This commit is contained in:
Alexis Saettler
2022-11-09 10:21:18 +01:00
committed by GitHub
parent f6632ff53b
commit 0cb66802c6
3 changed files with 7 additions and 0 deletions

View File

@@ -19,6 +19,7 @@ Write-Host "Clean up various directories"
"$env:SystemRoot\logs",
"$env:SystemRoot\winsxs\manifestcache",
"$env:SystemRoot\Temp",
"$env:SystemDrive\Users\$env:INSTALL_USER\AppData\Local\Temp",
"$env:TEMP"
) | ForEach-Object {
if (Test-Path $_) {