Skip unpacking of existing files

This commit is contained in:
Manuel Thalmann 2024-03-24 18:17:18 +01:00
parent ab17fa75d6
commit b273eeec68
2 changed files with 2 additions and 2 deletions
scripts/Windows/Software/reWASD

View file

@ -22,7 +22,7 @@ $null = New-Module {
Start-Process -Wait -FilePath $file.FullName -ArgumentList "/S";
Write-Information "Restoring files";
$context.Restore($context.SoftwareArchive($softwareName), $path);
$context.Restore($context.SoftwareArchive($softwareName), $path, @("-aos"));
Write-Information "Removing desktop icon";
$context.RemoveDesktopIcon("*reWASD*");