Overwrite existing files when unpacking osu!
This commit is contained in:
parent
17a18866f5
commit
87a83600db
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ $null = New-Module {
|
||||||
choco install -y osu;
|
choco install -y osu;
|
||||||
$context.RemoveDesktopIcon("*osu*");
|
$context.RemoveDesktopIcon("*osu*");
|
||||||
Write-Information "Restoring files";
|
Write-Information "Restoring files";
|
||||||
$context.Restore($context.SoftwareArchive($softwareName), $path);
|
$context.Restore($context.SoftwareArchive($softwareName), $path, @("-aoa"));
|
||||||
$configName = "osu!.$env:USERNAME.cfg";
|
$configName = "osu!.$env:USERNAME.cfg";
|
||||||
Write-Information "Renaming user configuration to $configName";
|
Write-Information "Renaming user configuration to $configName";
|
||||||
Push-Location $path;
|
Push-Location $path;
|
||||||
|
|
Loading…
Reference in a new issue