Skip unpacking of existing files
This commit is contained in:
parent
ab17fa75d6
commit
b273eeec68
2 changed files with 2 additions and 2 deletions
|
@ -22,7 +22,7 @@ $null = New-Module {
|
|||
choco install -y osu;
|
||||
$context.RemoveDesktopIcon("*osu*");
|
||||
Write-Information "Restoring files";
|
||||
$context.Restore($context.SoftwareArchive($softwareName), $path, @("-aoa"));
|
||||
$context.Restore($context.SoftwareArchive($softwareName), $path, @("-aos"));
|
||||
$configName = "osu!.$env:USERNAME.cfg";
|
||||
Write-Information "Renaming user configuration to $configName";
|
||||
Push-Location $path;
|
||||
|
|
|
@ -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*");
|
||||
|
|
Loading…
Reference in a new issue