Add a function for removing desktop icons
This commit is contained in:
parent
18b1ae071c
commit
32030e1455
4 changed files with 7 additions and 3 deletions
scripts/Windows/Software/osu!
|
@ -19,7 +19,7 @@ $null = New-Module {
|
|||
Write-Host "Restoring osu!";
|
||||
Write-Information "Installing osu!";
|
||||
choco install -y osu;
|
||||
Remove-Item "$env:PUBLIC\Desktop\*osu*";
|
||||
$context.RemoveDesktopIcon("*osu*");
|
||||
Write-Information "Restoring files";
|
||||
$context.Restore($context.SoftwareArchive($softwareName), $path);
|
||||
$configName = "osu!.$env:USERNAME.cfg";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue