Closed kudapara closed 7 years ago
could you share your error message ?
Oops after doing some research I discovered that this is an issue related with electron. Somehow require('electron').app
is undefined when I write it in the renderer.js
file but it works in the main.js
file.
Hello. Is it posible to save the database on a custom directory on the computer e.g
Documents
folder? I am using lowdb in an electron app.I understand this code saves the db.json in the same folder as the app.
But if i try something like
I get an error. Please help.