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 793e2aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Expand Up @@ -2,6 +2,9 @@

## Next (YYYY-MM-DD)

- Stop checking powershell's `PackageManagement` capability as a Win10 check
([#5](https://github.com/watchexec/clearscreen/issues/5)).

## v1.0.7 (2021-08-26)

- Flush after E3 sequence in `Terminfo` ([#4](https://github.com/watchexec/clearscreen/issues/4)).
Expand Down
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 793e2aa

Please sign in to comment.