Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Any way to embed apps? #4930
@MarshallOfSound I don't think webview is what I'm looking for, afaik you can only use it to embed websites and (again afaik) Electron apps don't expose an index.html that you can use with the webview's src.
@Tribex I'd like to be able to use a tag, similar to chrome's app-view, and have that tag contain a separate Electron app. My use case is that I'm working on an Electron-based web browser, and I'd like to be able to embed apps like Slack or Atom into tabs in my web browser.
I'm not familiar enough with these technologies to know if I can already do this, or whether it's too complex to build into Electron. I wouldn't need a functional menu bar or anything; just having the main app embedded into a DOM tag would be absolutely wonderful.
The entire concept doesn't make much sense - the opening file in an Electron app is a node.js script that creates BrowserWindow objects - that opening script does all kinds of process-wide app startup stuff - like, Atom is much more than just a HTML file loaded in a window