Answer by Kamil Chowaniec for app.relaunch([options]) is not working in electron
app.relaunch();app.quit();This code must work, but Please Note that while debugging (i.e. in Visual studio code) after app.quit() debugger disconnects and kills whole application, therefore app will...
View ArticleAnswer by Vadim Macagon for app.relaunch([options]) is not working in electron
Calling app.relaunch() will not actually quit the app, you need to follow it by a call to app.quit() or app.exit().
View Articleapp.relaunch([options]) is not working in electron
I want to change userData path with path defined by user. So, I'm fetching the path from UI, storing it into a file. So that next time app launches, it changes the path.I wanted to restart the app as...
View Article
More Pages to Explore .....