Remove osu!lazer desktop icon using context object
This commit is contained in:
parent
1349d530cf
commit
0e79d86d80
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue