vscode-task
vscode-task copied to clipboard
Install/update task via a command/prompt
Currently, we prompt the user to install/update Task when the extension is activated if:
- Task is not installed (error)
- Task does not meet the minimum version requirements (error)
- The user has internet connection and we determine that a newer version of Task is available (info).
The prompt displays an Install
/Update
button which opens the Installation page on the Task website.
We should investigate ways in which we can automate this installation for users. We already have an installation script that is available at https://taskfile.dev/install.sh. However, there are issues with using this:
- The project that generates the script is no longer maintained
- https://github.com/goreleaser/godownloader/issues/161
- https://github.com/goreleaser/godownloader/issues/207
- It generates a
.sh
script which won't necessarily run on all systems. - Where should it install the binary?
- How do we know if the destination in in the user's
$PATH
- What do we do if the user already has Task installed elsewhere or via a different package manager
- How do we know if the destination in in the user's