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