Optimize readability

This commit is contained in:
1552980358 2024-04-07 21:25:24 +08:00
parent dbb4a085b0
commit c67866a280
No known key found for this signature in database
GPG Key ID: ECB2C291260654AE

View File

@ -57,7 +57,7 @@ Function Finish {
Start-Process "wsa://com.android.vending"
}
If (Check-Windows11 -And Test-CommandExist pwsh.exe) {
If ((Check-Windows11) -And (Test-CommandExist 'pwsh.exe')) {
$pwsh = "pwsh.exe"
} Else {
$pwsh = "powershell.exe"