Electron : Creating db file in userdata folder



i am new with electron. i want to know how to create my db file in userdata folder when loading my application in the first time. i tried many ways. please help


Have you tried install sqlite (npm install sqlite). While I believe that works on windows it was way more involved on Linux.

If you are just trying to create a type of config file - take a look at electron-storage.



thanks for the tip jhon. i figured it out. thanks again for your tip


can you a suggest any other way to build windows installer for electron application other than electron windows installer.?