From 5c5fdaaed54309726da2f0edcbf3d7ec6f62557d Mon Sep 17 00:00:00 2001 From: Scott Nonnenberg Date: Thu, 14 Dec 2017 11:30:14 -0800 Subject: [PATCH] Update available dialog: default now 'later', not 'restart' (#1894) This prevents the user from restarting the app by pressing space on MacOS, which happens frequently during the course of normal typing of a message. In the future we'll move to a less-obtrusive system a little more like Chrome, where you choose to do the restart when it is convenient for you. For now, we minimize the chance of accidental restart in the middle of typing a message. --- app/auto_update.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/auto_update.js b/app/auto_update.js index f68211113..ab454b29c 100644 --- a/app/auto_update.js +++ b/app/auto_update.js @@ -34,8 +34,8 @@ function showUpdateDialog(mainWindow, messages) { title: messages.autoUpdateNewVersionTitle.message, message: messages.autoUpdateNewVersionMessage.message, detail: messages.autoUpdateNewVersionInstructions.message, - defaultId: RESTART_BUTTON, - cancelId: LATER_BUTTON + defaultId: LATER_BUTTON, + cancelId: RESTART_BUTTON, } dialog.showMessageBox(mainWindow, options, function(response) {