Install Pennywise for each user

This commit is contained in:
Manuel Thalmann 2024-10-14 01:59:55 +02:00
parent a3b79159e6
commit 3161f3071b

View file

@ -155,7 +155,9 @@ function Deploy-SoftwareAction {
Remove-DesktopIcon "*Brave*"; Remove-DesktopIcon "*Brave*";
Remove-TaskbarItem "*Brave*"; Remove-TaskbarItem "*Brave*";
} }
}
if ($Action -eq ([InstallerAction]::ConfigureUser)) {
if (Test-Program "pennywise") { if (Test-Program "pennywise") {
Install-WingetPackage kamranahmedse.pennywise; Install-WingetPackage kamranahmedse.pennywise;
Remove-DesktopIcon "Pennywise*"; Remove-DesktopIcon "Pennywise*";