mtxr / vscode-sqltools

Database management for VSCode
https://vscode-sqltools.mteixeira.dev?utm_source=github&utm_medium=homepage-link
MIT License
1.48k stars 296 forks source link

Handle Windows PowerShell when detecting or building (#999) #1000

Closed gjsjohnmurray closed 1 year ago

gjsjohnmurray commented 1 year ago

This PR fixes #999. On Windows environments where default PowerShell had not been augmented by installing PowerShell 7, the usetNodeRuntime autodetection mechanism would fail and block extension activation.

We now handle Windows PowerShell. We also display a modal message if detection takes more than 5 seconds:

image


Thank you for your contribution! Before submitting this PR, please make sure: