-
-
Notifications
You must be signed in to change notification settings - Fork 10
Description
Automatic Host tool install should be improved.
For windows we should include the winget arguments to automatically accept agreements --accept-package-agreements
and --accept-source-agreements
The card in setup panel should automatically detect installed host tools. For each tool in the winget list a check should be done and shown to the user whether it is available or not. This should work for all platforms.
To resolve missing dependencies/ install host tools only the missing tools.
Basically the install host tools should be a two step process. Detect if host tools are installed and then only install the needed ones.
For windows the 7zip and winget steps should be noted but not part of the automatic process. The install host tools should detect that winget is available and then only make it available for users to run the automated process.
For windows vscode/the terminal should restart after any host tool is installed.
when the tools are installed the path needs to be updated by either restarting vscode or by:
$env:Path=( [System.Environment]::GetEnvironmentVariable("Path","Machine"), [System.Environment]::GetEnvironmentVariable("Path","User") ) -match '.' -join ';'