Only process osu! settings if existent
This commit is contained in:
parent
659ac771ee
commit
dac2fdc6f5
|
@ -23,7 +23,11 @@ $null = New-Module {
|
|||
$configName = "osu!.$env:USERNAME.cfg";
|
||||
Write-Information "Renaming user configuration to $configName";
|
||||
Push-Location $path;
|
||||
Rename-Item $genericConfigName $configName;
|
||||
|
||||
if ((Test-Path $genericConfigName)) {
|
||||
Rename-Item $genericConfigName $configName;
|
||||
}
|
||||
|
||||
Pop-Location;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue