openItem is now openPath

This commit is contained in:
jessop 2020-10-10 17:23:03 -04:00 committed by Sean Yesmunt
parent 03f1fe3ee5
commit a5a1f72555

View file

@ -274,7 +274,7 @@ ipcMain.on('upgrade', (event, installerPath) => {
console.log('Launching upgrade installer at', installerPath); console.log('Launching upgrade installer at', installerPath);
// This gets triggered called after *all* other quit-related events, so // This gets triggered called after *all* other quit-related events, so
// we'll only get here if we're fully prepared and quitting for real. // we'll only get here if we're fully prepared and quitting for real.
shell.openItem(installerPath); shell.openPath(installerPath);
}); });
// what to do if no shutdown in a long time? // what to do if no shutdown in a long time?
console.log('Update downloaded to', installerPath); console.log('Update downloaded to', installerPath);