Answer by Linus for Passing arguments to a running electron app
Ultimately, the most elegant solution to my particular problem was to add a http api endpoint for the Electron app using koa.const Koa = require("koa");const koa = new Koa();let mainWindow;function...
View ArticleAnswer by pushkin for Passing arguments to a running electron app
One strategy is to have your external program write to a file that your electron app knows about. Then, your electron app can listen for changes to that file and can read it to get the string:import...
View ArticlePassing arguments to a running electron app
I have found some search results about using app.makeSingleInstance and using CLI arguments, but it seems that the command has been removed.Is there any other way to send a string to an already started...
View Article