Fixed Missing Parenthesis

This commit is contained in:
Hayden Plumley 2022-05-16 19:54:14 -07:00 committed by GitHub
parent e52f4abada
commit 62c99aedf4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -620,7 +620,7 @@ $WPFinstall.Add_Click({
}
# If Winget isn't Installed, Open MS Store Window to Install
if (!Get-AppPackage -name 'Microsoft.DesktopAppInstaller') {
if (!(Get-AppPackage -name 'Microsoft.DesktopAppInstaller')) {
Start-Process "ms-windows-store://pdp/?ProductId=9NBLGGH4NNS1"
$nid = (Get-Process AppInstaller).Id; Wait-Process -Id $nid
}