سؤال

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?

هل كانت مفيدة؟

المحلول

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

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top