Remove unnecessary desktop shortcuts
This commit is contained in:
parent
63d5513817
commit
0d34e3d8bf
2 changed files with 2 additions and 0 deletions
|
@ -18,6 +18,7 @@ $null = New-Module {
|
|||
Write-Host "Restoring osu!";
|
||||
Write-Information "Installing osu!";
|
||||
choco install -y osu;
|
||||
Remove-Item "$env:PUBLIC\Desktop\*osu*";
|
||||
Write-Information "Restoring files";
|
||||
$context.Restore($context.SoftwareArchive($softwareName), $path);
|
||||
$configName = "osu!.$env:USERNAME.cfg";
|
||||
|
|
|
@ -20,6 +20,7 @@ $null = New-Module {
|
|||
Push-Location $tempDir;
|
||||
Invoke-WebRequest "https://github.com/ppy/osu/releases/latest/download/install.exe" -OutFile $installerName;
|
||||
Start-Process -Wait -FilePath $installerName;
|
||||
Remove-Item "~\Desktop\*osu*";
|
||||
Pop-Location;
|
||||
Remove-Item -Recurse $tempDir;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue