Remove unwanted desktop icons
This commit is contained in:
parent
06f8394423
commit
dae4c35c2a
4 changed files with 9 additions and 0 deletions
scripts/Windows/Software/LGHub
|
@ -44,6 +44,8 @@ $null = New-Module {
|
|||
$hubPath = Stop-LogitechGHUB;
|
||||
Write-Information "Restoring important files";
|
||||
$context.Restore($context.SoftwareArchive($softwareName), $path);
|
||||
Write-Information "Deleting desktop icon";
|
||||
$context.RemoveDesktopIcon("*G HUB*");
|
||||
Write-Information "Restarting Logitech G HUB";
|
||||
Start-Process $hubPath;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue