Overwrite existing files when unpacking osu!

This commit is contained in:
Manuel Thalmann 2024-03-24 18:09:22 +01:00
parent 47d8a51381
commit 6cac37b0a9

View file

@ -22,7 +22,7 @@ $null = New-Module {
choco install -y osu;
$context.RemoveDesktopIcon("*osu*");
Write-Information "Restoring files";
$context.Restore($context.SoftwareArchive($softwareName), $path);
$context.Restore($context.SoftwareArchive($softwareName), $path, @("-aoa"));
$configName = "osu!.$env:USERNAME.cfg";
Write-Information "Renaming user configuration to $configName";
Push-Location $path;