🎨
This commit is contained in:
parent
e546820a4a
commit
902b34ba39
2 changed files with 10 additions and 11 deletions
3
spec/fixtures/api/mixed-sandbox-app/main.js
vendored
3
spec/fixtures/api/mixed-sandbox-app/main.js
vendored
|
@ -4,12 +4,11 @@ const path = require('path')
|
|||
|
||||
const socketPath = process.platform === 'win32' ? '\\\\.\\pipe\\electron-app-mixed-sandbox' : '/tmp/electron-app-mixed-sandbox'
|
||||
|
||||
process.on('uncaughtException', (error) => {
|
||||
process.on('uncaughtException', () => {
|
||||
app.exit(1)
|
||||
})
|
||||
|
||||
app.once('ready', () => {
|
||||
|
||||
let lastArg = process.argv[process.argv.length - 1]
|
||||
const client = net.connect(socketPath)
|
||||
client.once('connect', () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue