Reputation: 5245
I'm developing a node-webkit application that i want to distribute as an .exe file. However. I need to have dynamic content editable by the end user would i be able to link/ reference to external files and folders in my html/ css file using a relative path( maybe if i designate a particle folder)
Upvotes: 0
Views: 56
Reputation: 758
A packed node-webkit application can identify its starting folder this way:
var appDir = require('path').dirname(process.execPath);
Upvotes: 1