Open erickzanardo opened 3 weeks ago
I vote, instead of providing our own install scripts, we move to dart pub global activate
. This would require interacting with pub as part of our release process, but would alleviate the many issues users have had with our install scripts and would provide a much cleaner interface for installing than the gnarly bash/powershell commands we're currently asking users to run.
App ID: 1f375832-2444-4acc-9da9-3e486084c4de
Description
If you run the cli install script and get an error in it, it is not straight forward to run it again.
Steps To Reproduce
1 - Run the install script and make it fail (turn off internet in the middle of the process for example:
2: Try running it again
See that it fails and suggest to use the
--force
flag. But since the bash command is a curl that is piped to bash, it is not clear where or how that flag should be placed.Expected Behavior
Install script should either be able to recover from a failure, or it should suggest a more clear option when run again, maybe like a prompt that asks, "Shorebird installation should, would you like to reinstall?"