Remove osu!lazer desktop icon using context object

This commit is contained in:
Manuel Thalmann 2023-07-27 01:16:23 +02:00
parent 1349d530cf
commit 0e79d86d80

View file

@ -30,7 +30,7 @@ $null = New-Module {
Start-Sleep 10; Start-Sleep 10;
Get-Process $processName | Stop-Process -Force; Get-Process $processName | Stop-Process -Force;
Remove-Item "~\Desktop\*osu*"; $context.RemoveDesktopIcon("*osu*");
Pop-Location; Pop-Location;
Remove-Item -Recurse $tempDir; Remove-Item -Recurse $tempDir;
} }