-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Issue or Bug
Description
The install.sh script doesn't ensure ~/.local/bin is in the users path, and doesn't create a config file by default.
When you first try to run the riptide client cli after installing, you may have the following experience. First, it can't find the program, then, when you specify the path to it, it indefnitely hangs:
I personally didn't have ~/.local/bin in my path on my dev vm, so I presumed the installer failed.
A quick strace reveals the program hangs because the config file doesn't exist:

Tasks/General Thoughts
- Ensure a default config file is installed by install.sh.
- If a config file isn't present, give a helpful error message instead of locking up.
- The install script should detect if
~/.local/binis in the users path. If it isn't, it should at the very least warn the user. It should also say "Hey you might wanna addexport PATH="$PATH:~/.local/bin"to your shell RC" or whatever. Ideally, it should even offer a y/n prompt to do this.- Modifying the user's shell config without asking is a bit invasive, so I wouldn't advise this.
Metadata
Metadata
Assignees
Labels
No labels
