-
-
Notifications
You must be signed in to change notification settings - Fork 42
Open
Description
README.md
contains the example require('minimist')(process.argv.slice(2));
.
That, of course, is correct for the many people developing plain node applications.
But on Electron (which is a big platform) developers need to be a bit careful because there it depends on how the app is ran to determine how many arguments to slice off. There (but only there!) something likerequire('minimist')(process.argv.slice(process.defaultApp ? 2 : 1));
would be wise to use.
Should this be mentioned?
Metadata
Metadata
Assignees
Labels
No labels