upload-scripts icon indicating copy to clipboard operation
upload-scripts copied to clipboard

credentials.json into XDG config space not current directory

Open flohoff opened this issue 2 years ago • 1 comments

Hi, the credentials.json should not be in the current directory but in the normal XDG namespace somethink like ~/.config/karta/credentials.json

Currently i need to login on every upload because i change into the directory of the images and upload "."

Flo

flohoff avatar Aug 14 '22 15:08 flohoff

I just copy the credentials.json file around :) But yes, it should be handled better. Especially since the script output claims that it is looking for it in the same directory as the script: Logged in user: ToeBee. To log out delete /home/toby/git/kartaview-upload-scripts/credentials.json But the credentials.json file it is actually using is in my current directory

ToeBee avatar Dec 16 '22 05:12 ToeBee