From 19f3e35446fba6e9ac2135f2ac9d710721de4313 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Tue, 18 Jul 2023 21:13:33 +0200 Subject: [PATCH] Fix incorrect condition --- scripts/Windows/Config/Windows/InstallUser.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Windows/Config/Windows/InstallUser.ps1 b/scripts/Windows/Config/Windows/InstallUser.ps1 index 9936d82e..52b3a188 100644 --- a/scripts/Windows/Config/Windows/InstallUser.ps1 +++ b/scripts/Windows/Config/Windows/InstallUser.ps1 @@ -18,7 +18,7 @@ Export-StartLayout $startLayoutFile; $startLayout = Get-Content "$startLayoutFile" | ConvertFrom-Json; $startLayout.pinnedList = $startLayout.pinnedList | Where-Object { - return ( + return -not ( ($pinnedItem.desktopAppLink -like "*Microsoft Edge*") -or [System.Linq.Enumerable]::Any( @(