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

This commit is contained in:
Milan Burda 2018-08-09 16:58:44 +02:00 committed by Charles Kerr
parent 3d89185396
commit 98033e4f45
6 changed files with 34 additions and 7 deletions

View file

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