Juan Cruz Viotti
Juan Cruz Viotti
Hi @kfardanesh , Thanks a lot for the PR, and sorry for not having time to look at this during the weekend. I'll try to do so on Monday :)
Let's add some functions to set and get the default settings location, for example: `storage.setUserDataPath()` and `storage.getUserDataPath()`. Having to specify the directory each time looks like unnecessary extra overhead.
@stromboul I don't think the author is still working on it. You're free to take over using the suggestions in this PR!
Hi @SirWaddles , Thanks for the report! Do you have a whole stack trace I can take a look at? I'm basically trying to find out if this problem happens...
@valhalla13 @SirWaddles Do you mean it comes on any `fs` function call? Does it also happens when locking and unlocking? Does it eventually succeed if you keep trying? Can you...
@SirWaddles Thanks a lot for the stack-trace; that helps a lot! Can you try v4.1.3 and see if the issue is gone? Windows Defender can definitely be the cause. It...
Hey @zankooh , Hm, that's very interesting. Do you have a stack trace you can share?
Very interesting! Presumably this is a Windows only issue, right? I think we could add logic to `electron-json-storage` to retry if it gets an EPERM during reads for this reason....
I just sent https://github.com/electron-userland/electron-json-storage/pull/122. Let me know how it goes!
I published the possible fix as v4.1.5