Where to store user settings in Electron (Atom Shell) Application?

Each platform has different default locations for different kinds of data. So, if you want to store data in default locations based on platform, check out app.getPath(name)

It retrieves a path to a special directory or file associated with name.

You can also use it to differentiate between data the user wants to save, and data your application saves that you don’t want to clutter up users directories.

Or if you just want to store files reletive to a specific path you can use the
app.setPath(name,path)

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)