PowerShell / PowerShellEditorServices

A common platform for PowerShell development support in any editor or application!
MIT License
623 stars 214 forks source link

Remove unnecessary `PowerShellProcessArchitecture` #1964

Closed andyleejordan closed 1 year ago

andyleejordan commented 1 year ago

This simply wasn't being used and was overly complicated. The only time we want the architecture is when queried via LSP so that the VS Code client can determine which installer to download for its auto-update feature. If we can, we should deduplicate version logic in the loader and the VersionUtils class.

Simplification found when investigating https://github.com/PowerShell/vscode-powershell/issues/3435.