Skip to content

Commit

Permalink
Remove pwsh packaging check (false-positive on win7)
Browse files Browse the repository at this point in the history
Fixes #5

Windows 7 Powershell at least as of 6.1.7601 supports the tested
functionality, making the test useless for checking support. Removing
this check completely will rely more on the ability to set the bit as a
check for setting the bit; that's already acknowledged in the docs so 👍
  • Loading branch information
passcod committed Dec 2, 2021
1 parent 3e1b425 commit e4f46d6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/lib.rs
Expand Up @@ -1107,10 +1107,6 @@ mod win {
return true;
}

if pwsh_package_management().unwrap_or(false) {
return true;
}

vt_attempt().unwrap_or(false)
}
}
Expand Down

0 comments on commit e4f46d6

Please sign in to comment.