Fix process.execPath returning parent process path instead of the helper in sandboxed renderer (#13959)
This commit is contained in:
parent
3d89185396
commit
98033e4f45
6 changed files with 34 additions and 7 deletions
|
@ -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
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue