This repository was archived by the owner on Dec 5, 2022. It is now read-only.

Description
Hello, i got some troubles.
I tried following guide below in "Relaunch window after the process crash" section, but i got a blank page and unable to reach win.reload() .
win.webContents.on('crashed', () => {
const options = {
type: 'info',
title: 'Renderer Process Crashed',
message: 'This process has crashed.',
buttons: ['Reload', 'Close']
}
dialog.showMessageBox(options, (index) => {
if (index === 0) win.reload()
else win.close()
})
})
This demo snippet only work with electron 6 below, Can I reload after the process crash in higher version ?