diff --git a/scripts/Windows/Scripts/Deployment.ps1 b/scripts/Windows/Scripts/Deployment.ps1 index 5849e97d..bab41e31 100644 --- a/scripts/Windows/Scripts/Deployment.ps1 +++ b/scripts/Windows/Scripts/Deployment.ps1 @@ -155,7 +155,9 @@ function Deploy-SoftwareAction { Remove-DesktopIcon "*Brave*"; Remove-TaskbarItem "*Brave*"; } + } + if ($Action -eq ([InstallerAction]::ConfigureUser)) { if (Test-Program "pennywise") { Install-WingetPackage kamranahmedse.pennywise; Remove-DesktopIcon "Pennywise*";