Prevent .deb packages from being opened with archive manager. #7502
1 changed files with 2 additions and 2 deletions
|
@ -463,7 +463,7 @@ ipcMain.on('download-upgrade', (event, params) => {
|
|||
autoUpdater.downloadUpdate();
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
const { url, options } = params;
|
||||
const dir = fs.mkdtempSync(app.getPath('temp') + path.sep);
|
||||
|
||||
|
@ -562,4 +562,4 @@ ipcMain.on('upgrade', (event, installerPath) => {
|
|||
shell.openPath(installerPath);
|
||||
});
|
||||
app.quit();
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue