openItem is now openPath
This commit is contained in:
parent
03f1fe3ee5
commit
a5a1f72555
1 changed files with 1 additions and 1 deletions
|
@ -274,7 +274,7 @@ ipcMain.on('upgrade', (event, installerPath) => {
|
|||
console.log('Launching upgrade installer at', installerPath);
|
||||
// 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.
|
||||
shell.openItem(installerPath);
|
||||
shell.openPath(installerPath);
|
||||
});
|
||||
// what to do if no shutdown in a long time?
|
||||
console.log('Update downloaded to', installerPath);
|
||||
|
|
Loading…
Reference in a new issue