Why the name I pass to AutoLaunch constructor is not be used?

  • The target platform(s) the problem occurs on (Linux, Mac, Mac App Store, and or Windows):
  • Node version (run node -v):
  • auto-launch version:
  • The options you're passing to auto-launch:
  • Are you using NW.js or Electron?
    • If so, which version?
    • If you're using Electron, are you using auto-launch from the main process or a renderer process?
  • Can you reproduce this with a simple Hello World example app?
  • If needs be, would you be able to provide us with a simple app (as simple as possible) which reproduces the problem?

In your code in the AutoLaunch function,
you call this.fixOpts();
After this function, the name we pass will become another value.

In the fixOpts, I find author changes the this.opts.appName.
But I don't know why to do this.
If I comment out these code, then the name written in Registry will be what I pass.