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

Reboot instead of shutdown to install new branch
old-commit-hash: b7d9f157fa
taco
Jason Wen 3 years ago committed by GitHub
parent 5a097b3235
commit 91283ad0b5
  1. 2
      selfdrive/ui/qt/offroad/software_settings.cc

@ -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);

Loading…
Cancel
Save