electron-json-storage icon indicating copy to clipboard operation
electron-json-storage copied to clipboard

Sharing storage across all users

Open luisabtrace opened this issue 2 years ago • 0 comments

Hya,

First of all, apologies because this is more of a question rather than an issue.

I was wondering if it's possible to share the storage across all users in a single machine. I've tried

storage.setDataPath(app.getAppPath());

and

storage.setDataPath(path.dirname(app.getPath('exe')));

but nothing works. To my surprise, the app doesn't even start (presumably due to some permissions error, but there's nothing in the output).

Do you have any suggestion on how to achieve this?

Thanks!

luisabtrace avatar Jun 22 '22 09:06 luisabtrace