igdm-cli icon indicating copy to clipboard operation
igdm-cli copied to clipboard

Sessions file is not read (?)

Open LukeCageCodes opened this issue 4 years ago • 2 comments

Hi @noook - thanks for putting this together, very cool.

When I relaunch the application, I am asked for the password again. The sessions file (session.json) has been written/updated, but it doesn't seem to make any difference.

(I'm on Ubuntu - in case that makes a difference.)

LukeCageCodes avatar Nov 21 '21 11:11 LukeCageCodes

Hello, I indeed noticed this, it seems to be related to the scope the script is able to read/write when installed globally, if you have any lead feel free to suggest / report here the problem !

noook avatar Nov 21 '21 22:11 noook

Hi @noook - On Linux, when the script is installed with sudo into a systems directory, then the session.json isn't writable (if igdm is not run with sudo).

However, I've installed the application via git, to be able to tinker. It still doesn't pick up the session.json, although it's writable. I'll see whether I can figure out the problem in more detail.

LukeCageCodes avatar Nov 21 '21 22:11 LukeCageCodes