From bb614bbf999ad98761d81aea1022de13ce0b626d Mon Sep 17 00:00:00 2001 From: Dmitry Nefedov <10544660+farag2@users.noreply.github.com> Date: Tue, 22 Dec 2020 18:27:39 +0300 Subject: [PATCH] Add files via upload --- Sophia/Sophia.psm1 | 1 + 1 file changed, 1 insertion(+) diff --git a/Sophia/Sophia.psm1 b/Sophia/Sophia.psm1 index 08a9c0cf..15e4ea33 100644 --- a/Sophia/Sophia.psm1 +++ b/Sophia/Sophia.psm1 @@ -2589,6 +2589,7 @@ function UnpinTaskbarEdgeStore $LocalizedString = [WinAPI.GetStr]::GetString(5387) $Apps = (New-Object -ComObject Shell.Application).NameSpace("shell:::{4234d49b-0245-4df3-b780-3893943456e1}").Items() + $Apps | Where-Object -FilterScript {$_.Path -eq "MSEdge"} | ForEach-Object -Process {$_.Verbs() | Where-Object -FilterScript {$_.Name -eq $LocalizedString} | ForEach-Object -Process {$_.DoIt()}} $Apps | Where-Object -FilterScript {$_.Name -eq "Microsoft Store"} | ForEach-Object -Process {$_.Verbs() | Where-Object -FilterScript {$_.Name -eq $LocalizedString} | ForEach-Object -Process {$_.DoIt()}} }