remove old update dialog code
This commit is contained in:
parent
fa583a33e1
commit
b9819f3cc5
|
@ -28,18 +28,4 @@ export default new AppUpdater();
|
|||
|
||||
export const showUpdateDialog = (mainWindow: BrowserWindow): void => {
|
||||
mainWindow.webContents.send('show-update-dialog');
|
||||
|
||||
// dialog
|
||||
// .showMessageBox({
|
||||
// type: 'info',
|
||||
// title: 'Install update',
|
||||
// message: 'Restart to update to the latest version of ente',
|
||||
// buttons: ['Later', 'Restart now'],
|
||||
// })
|
||||
// .then((buttonIndex) => {
|
||||
// if (buttonIndex.response === 1) {
|
||||
// setIsAppQuitting(true);
|
||||
// autoUpdater.quitAndInstall();
|
||||
// }
|
||||
// });
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue