Question

My program I am running using the NodeWebkit is called app.exe. (The one where I combine the basic .exe with my app.nw file.)

How do I find the program name, ie the "app.exe", within the program itself using javascript?

Was it helpful?

Solution

I found it finally. It can be got from process.execPath.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top