I’m using Electron to load an ExpressJS app that uses LevelDB for session with the level-session-store package storing the data in the
path.join(__dirname,'db') folder. Everything works fine when I run it locally with
electron . but when I run the build I get this error
The relevant file is this but generally it’s looking for my leveldb file and that filesystem structure is not the same when the app is built or that it can’t access that folder
I’m new to desktop apps so could someone explain how I could structure this setup (or use an alternate sessioning method than leveldb) that would work in both a web server environment and Electron environment?