I'm using electron-squirrel-startup to create start menu shortcuts but I need to pass in arguments to the shortcut, right now I'm editing the index.js
in node_modules/electron-squirrel-startup
like this:
run(['--createShortcut=' + target + ' --process-start-args=showSplash'], app.quit);
Although it doesn't create the shortcut anymore.
How can I create the start menu shortcut with arguments?