From a5a1f7255526a70a2eac8466b78fb2a5d7fed9b5 Mon Sep 17 00:00:00 2001 From: jessop Date: Sat, 10 Oct 2020 17:23:03 -0400 Subject: [PATCH] openItem is now openPath --- electron/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electron/index.js b/electron/index.js index 04ee8512b..9db1816b0 100644 --- a/electron/index.js +++ b/electron/index.js @@ -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);