mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2025-04-01 17:12:09 +00:00
Fixed Missing Parenthesis
This commit is contained in:
parent
e52f4abada
commit
62c99aedf4
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user