From a91d6d815cba029d2feeb2e64851e93bcdb96253 Mon Sep 17 00:00:00 2001 From: Erin Date: Fri, 8 Nov 2024 16:06:24 -0600 Subject: [PATCH] Updated where to find updateMe.sh script file --- src/WombatUpdateWidget.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/WombatUpdateWidget.cpp b/src/WombatUpdateWidget.cpp index 49fa8d34..d4b7ff07 100644 --- a/src/WombatUpdateWidget.cpp +++ b/src/WombatUpdateWidget.cpp @@ -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 }