Fix non-functioning code
This commit is contained in:
parent
b2c3c10f33
commit
0aa49cd6d4
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ Export-StartLayout $startLayoutFile;
|
||||||
$startLayout = Get-Content "$startLayoutFile" | ConvertFrom-Json
|
$startLayout = Get-Content "$startLayoutFile" | ConvertFrom-Json
|
||||||
$originalProperty = "pinnedList";
|
$originalProperty = "pinnedList";
|
||||||
|
|
||||||
$newLayout = $startLayout[$originalProperty] | Where-Object {
|
$newLayout = $startLayout | Select-Object -ExpandProperty $originalProperty | Where-Object {
|
||||||
return -not (
|
return -not (
|
||||||
($_.desktopAppLink -like "*Microsoft Edge*") -or
|
($_.desktopAppLink -like "*Microsoft Edge*") -or
|
||||||
[System.Linq.Enumerable]::Any(
|
[System.Linq.Enumerable]::Any(
|
||||||
|
|
Loading…
Reference in a new issue