remove old update dialog code

This commit is contained in:
Abhinav 2022-10-31 14:03:29 +05:30
parent fa583a33e1
commit b9819f3cc5

View file

@ -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();
// }
// });
};