nwjs application run in differently each time
I have created a nwjs application and I have created the distribution package using nw-builder as sudo nwbuild -p linux -v 0.12.3 -o ~/Documents/output/ /home/path/to/application/files/ and it was created successfully. I used diskdb for data storage by following this tutorial series.
The problem is, when i save some records and close the application and next time when i open the application, previously saved data is unavailable..! When I made toolbar: true in my package.json file i observed that each time the chromium webkit open as a temporary folder with temp link as, file:///tmp/.org.chromium.Chromium.fK2Img/login.html, file:///tmp/.org.chromium.Chromium.dDiSrR/login.htmletc. How can I solve the same?
You should save the status of application to user data dir, or use a different packaging mechanism (non-zip). And please submit questions to mailing list: https://groups.google.com/forum/#!forum/nwjs-general