please write a sample code for this event: https://nwjs.readthedocs.io/en/stable/References/App/#event-openargs To get a file into a variable. The documentation does not understand the syntax at all.
nw.App.on('open', (args) => { console.log('args', args); }); On launch, the event