Remove downloaded TMUF installer

This commit is contained in:
Manuel Thalmann 2023-07-02 18:22:02 +02:00
parent 87d74a48f0
commit e3061750a3

View file

@ -37,5 +37,6 @@ $null = New-Module {
Remove-Item "$env:PUBLIC\Desktop\*TmUnitedForever*"; Remove-Item "$env:PUBLIC\Desktop\*TmUnitedForever*";
Write-Information "Restoring files"; Write-Information "Restoring files";
$context.Restore($context.SoftwareArchive($softwareName), $path); $context.Restore($context.SoftwareArchive($softwareName), $path);
Remove-Item $exePath;
} }
} }