Ask windows to not try to be helpful

This commit is contained in:
Atlante45 2016-10-02 17:33:07 -07:00
parent 2d87e3eb1a
commit fab0f8019d

View file

@ -575,16 +575,20 @@ function checkNewContent() {
type: 'question',
buttons: ['Yes', 'No'],
defaultId: 1,
cancelId: 1,
title: 'New home content',
message: 'A newer version of the home content set is available.\nDo you wish to update?'
message: 'A newer version of the home content set is available.\nDo you wish to update?',
noLink: true,
}, function(idx) {
if (idx === 0) {
dialog.showMessageBox({
type: 'warning',
buttons: ['Yes', 'No'],
defaultId: 1,
cancelId: 1,
title: 'Are you sure?',
message: 'Updating with the new content will remove all your current content and settings and place them in a backup folder.\nAre you sure?'
message: 'Updating with the new content will remove all your current content and settings and place them in a backup folder.\nAre you sure?',
noLink: true,
}, function(idx) {
if (idx === 0) {
backupResourceDirectoriesAndRestart();