nvda
e2acb638 - Show the restart dialog after updating from within NVDA, and make sure restarting offers the user the ability to save work in progress" (#20441)

Commit
12 days ago
Show the restart dialog after updating from within NVDA, and make sure restarting offers the user the ability to save work in progress" (#20441) Fixes #20393 Also fixes the underlying issue in #20171 Summary of the issue: The installer's restart dialog: Wasn't shown after updating via updateCheck; and Used an inappropriate means of triggering system restart, which resulted in a forced restart. Description of user facing changes: The restart dialog is now shown when updating via updateCheck, and the restart button will not force restart the machine if this could result in data loss. Description of developer facing changes: Additions to winBindings. Description of development approach: When deciding whether to show the restart dialog, check whether --install-silent was literally passed. This is neessary because doSilentInstall is called regardless of whether --install or --install-silent was used. Use ExitWindowsEx to restart the system. Based on this example code
Author
Parents
Loading