Skip to content

Commit

Permalink
Updated where to find updateMe.sh script file
Browse files Browse the repository at this point in the history
  • Loading branch information
erinharrington-12 committed Nov 8, 2024
1 parent d8fa4e1 commit a91d6d8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/WombatUpdateWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@ void WombatUpdateWidget::update()
m_updateProc->setWorkingDirectory("/home/kipr");
ui->updateConsole->setProcess(m_updateProc);
connect(m_updateProc, SIGNAL(finished(int, QProcess::ExitStatus)), SLOT(updateFinished(int, QProcess::ExitStatus)));
QString selectedPath = WombatUpdateWidget::mountDir.absoluteFilePath(selectedName);
m_updateProc->start("sh", QStringList() << "updateMe.sh" << selectedPath);
m_updateProc->start("sh", QStringList() << "-c" << "/home/kipr/updateMe.sh /media/kipr/*/*");

// Update script will reboot the controller
}
Expand Down

0 comments on commit a91d6d8

Please sign in to comment.