remove createdump.exe

This commit is contained in:
Kevin Zhang 2021-06-28 11:26:18 +08:00 committed by GitHub
parent cc9c51d899
commit 4443200490
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -52,6 +52,7 @@ function Remove-CreateDumpExe ($path, $config) {
$depjson = Get-Content $target\Flow.Launcher.deps.json -raw
$depjson -replace '(?s)(.createdump.exe": {.*?}.*?\n)\s*', "" | Out-File $target\Flow.Launcher.deps.json
Remove-Item -Path $target -Include "*createdump.exe" -Recurse
}