|
|
@ -415,7 +415,7 @@ public static extern bool SetForegroundWindow(IntPtr hWnd); |
|
|
|
Write-Error -Message ($Localization.NoResponse -f "https://github.com") -ErrorAction SilentlyContinue |
|
|
|
} |
|
|
|
|
|
|
|
# Checking whether Get-WindowsEdition cmdlet is working |
|
|
|
# Checking whether PowerShell 7 was installed from the Microsoft Store |
|
|
|
# https://github.com/PowerShell/PowerShell/issues/21295 |
|
|
|
if ((Get-Process -Id $PID).Path -match "C:\\Program Files\\WindowsApps") |
|
|
|
{ |
|
|
|