kartaview / upload-scripts

Uploader tools for KartaView
MIT License
59 stars 30 forks source link

credentials.json into XDG config space not current directory #126

Open flohoff opened 1 year ago

flohoff commented 1 year ago

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

ToeBee commented 1 year ago

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