Quantcast
Channel: Passing arguments to a running electron app - Stack Overflow
Browsing all 3 articles
Browse latest View live

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 Article



Answer 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 Article

Passing 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
Browsing all 3 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>