From e4f46d6503660e10aeb46e6d3bb5e475eea2a3ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fe=CC=81lix=20Saparelli?= Date: Thu, 2 Dec 2021 21:45:30 +1300 Subject: [PATCH] Remove pwsh packaging check (false-positive on win7) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 👍 --- src/lib.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index db15abc..0af909b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1107,10 +1107,6 @@ mod win { return true; } - if pwsh_package_management().unwrap_or(false) { - return true; - } - vt_attempt().unwrap_or(false) } }