dropout-dl icon indicating copy to clipboard operation
dropout-dl copied to clipboard

Option to specify location of login file

Open ToasterUwU opened this issue 1 year ago • 1 comments

Assuming the README is correct, and the file location for the login data is next to the binary and not just the current working directory from which the binary was started, the following issue is present:

Is your feature request related to a problem? Please describe. I want to package this program for nix, but by design the path that the program binary would be in would be read only. Meaning that the user couldn't add a "login" file next to the binary. This means that the program would be non functional, and the same issue will also be present for lots of other methods of packaging this software, even on things like standard Ubuntu, this program would require people to add a "login" file to their /bin directory if it was packaged for APT.

Describe the solution you'd like An optional flag for specifying a path would work, nothing fancy. Just a --login-file or something like that.

Describe alternatives you've considered An alternative would be to get rid of the login file system and just specify those values via command line options, e.g. --username and --password. This could be an alternative way, meaning if not specified it uses a file if present, but if specified it uses the provided login credentials.

ToasterUwU avatar Oct 25 '24 22:10 ToasterUwU