Updater: Reboot instead of shutdown to install new branch (#25804)

Reboot instead of shutdown to install new branch
old-commit-hash: b7d9f157faa33023ab07db561c155db0abb28c0b
This commit is contained in:
Jason Wen
2022-09-15 23:16:54 -04:00
committed by GitHub
parent 5a097b3235
commit 91283ad0b5
+1 -1
View File
@@ -45,7 +45,7 @@ SoftwarePanel::SoftwarePanel(QWidget* parent) : ListWidget(parent) {
installBtn = new ButtonControl(tr("Install Update"), tr("INSTALL"));
connect(installBtn, &ButtonControl::clicked, [=]() {
installBtn->setEnabled(false);
params.putBool("DoShutdown", true);
params.putBool("DoReboot", true);
});
addItem(installBtn);