Pregunta

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?

¿Fue útil?

Solución

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

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top