From c9645ef26242936fa52ab4892a3de2c22d4ad0fe Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Fri, 16 Feb 2018 10:04:55 -0500 Subject: [PATCH] missing buttons from updater --- src/locales/en/messages.json | 4 ++-- src/main/updater.main.ts | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/locales/en/messages.json b/src/locales/en/messages.json index 61c1b739..400a5bb7 100644 --- a/src/locales/en/messages.json +++ b/src/locales/en/messages.json @@ -788,8 +788,8 @@ "updateAvailableDesc": { "message": "An update was found. Do you want to download it now?" }, - "update": { - "message": "Update" + "restart": { + "message": "Restart" }, "later": { "message": "Later" diff --git a/src/main/updater.main.ts b/src/main/updater.main.ts index 3c535665..ac1fe083 100644 --- a/src/main/updater.main.ts +++ b/src/main/updater.main.ts @@ -56,6 +56,9 @@ export class UpdaterMain { if (this.doingUpdateCheckWithFeedback && this.main.windowMain.win != null) { dialog.showMessageBox(this.main.windowMain.win, { message: this.main.i18nService.t('noUpdatesAvailable'), + buttons: [this.main.i18nService.t('ok')], + defaultId: 0, + noLink: true, }); }