Fix "Cannot Update" dialog's retry button
This commit is contained in:
parent
99de97a099
commit
65dc9d6afb
2 changed files with 25 additions and 3 deletions
|
@ -180,6 +180,13 @@ export abstract class Updater {
|
|||
|
||||
const mainWindow = this.getMainWindow();
|
||||
mainWindow?.webContents.send('show-update-dialog', dialogType);
|
||||
|
||||
this.setUpdateListener(async () => {
|
||||
this.logger.info('updater/markCannotUpdate: retrying after user action');
|
||||
|
||||
this.markedCannotUpdate = false;
|
||||
await this.checkForUpdatesMaybeInstall();
|
||||
});
|
||||
}
|
||||
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue