Cocycles/electron-storage

Question: why are filePaths joined to "userData" folder

0m4r opened this issue · 1 comments

0m4r commented

why are filePaths joined to "userData" folder?
is it possible to avoid this and save, or load a file from, for example, the user's Desktop? or a custom-defined path relative to the filesystem root?

return path.join(userData, filePath);

Thanks!

0m4r commented

nevermind, I read the doc better.