fix: resolve PowerShell 5.1 syntax error and add version checks#5
fix: resolve PowerShell 5.1 syntax error and add version checks#5jlaportebot wants to merge 2 commits into
Conversation
- Fix missing closing brace causing syntax error in PowerShell 5.1 - Add PowerShell version check with warning for versions < 7 - Add Python availability check before installation - Provide clear error messages and upgrade instructions - Allow users to continue with older PowerShell versions after warning Fixes aweussom#3
|
Thanks for the work on this, @jlaportebot, and for putting the careful description together. I went with a smaller fix on One detail worth flagging for posterity: the Closing the PR since the concern is addressed on |
|
Thanks for the thorough explanation, @aweussom! The |
Summary
This PR fixes the PowerShell 5.1 syntax error reported in issue #3 and adds comprehensive version checking to prevent similar issues.
Changes
Bug Fix
if ($HasNPU)block was not properly closed before theelseifstatementImprovements
Testing
Impact
Users running PowerShell 5.1 will now:
Fixes #3