Frage

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?

War es hilfreich?

Lösung

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

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top