riptide-org / client

Client and daemon for the riptide file sharing utility
MIT License
0 stars 0 forks source link

Installer doesn't bootstrap config or path #6

Open lachlan2k opened 2 years ago

lachlan2k commented 2 years ago

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:

image

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: image

Tasks/General Thoughts

lachlan2k commented 2 years ago

Just realized the config issue is probably already patched in main but not the latest release. I'll build the cli myself and see.