koush / electron-chrome

Other
970 stars 68 forks source link

Run multiple Chrome apps from one instance of Electron #26

Open timsayshey opened 7 years ago

timsayshey commented 7 years ago

Running a separate instance of Electron for each of the 10 Chrome apps that I use will be pretty costly on system resources. Is there a way to run multiple Chrome apps from one instance of Electron?

koush commented 7 years ago

The runtime supports running different apps (data is silo'd properly between different app runs). But it assumes only one is run at a time. You'd need to modify stuff here to support that:

https://github.com/koush/electron-chrome/tree/master/chrome/main

Specifically start.js and global.js.