Fix process.execPath returning parent process path instead of the helper in sandboxed renderer (#13839)

This commit is contained in:
Milan Burda 2018-07-30 03:13:42 +02:00 committed by Samuel Attard
parent aacbd76baa
commit db38c8b620
6 changed files with 35 additions and 8 deletions

View file

@ -454,7 +454,6 @@ ipcMain.on('ELECTRON_BROWSER_SANDBOX_LOAD', function (event, preloadPath) {
preloadSrc: preloadSrc,
preloadError: preloadError,
platform: process.platform,
execPath: process.execPath,
env: process.env
}
})