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

Reboot instead of shutdown to install new branch
This commit is contained in:
Jason Wen
2022-09-15 23:16:54 -04:00
committed by GitHub
parent b133a4c9a8
commit b7d9f157fa
+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);