Fix incorrect condition

This commit is contained in:
Manuel Thalmann 2023-07-18 21:13:33 +02:00
parent 8d6dbcb491
commit 19f3e35446

View file

@ -18,7 +18,7 @@ Export-StartLayout $startLayoutFile;
$startLayout = Get-Content "$startLayoutFile" | ConvertFrom-Json; $startLayout = Get-Content "$startLayoutFile" | ConvertFrom-Json;
$startLayout.pinnedList = $startLayout.pinnedList | Where-Object { $startLayout.pinnedList = $startLayout.pinnedList | Where-Object {
return ( return -not (
($pinnedItem.desktopAppLink -like "*Microsoft Edge*") -or ($pinnedItem.desktopAppLink -like "*Microsoft Edge*") -or
[System.Linq.Enumerable]::Any( [System.Linq.Enumerable]::Any(
@( @(