more fixing

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
Trial97
2023-09-28 18:47:21 +03:00
parent 498c9db1ce
commit 606c12ffeb
4 changed files with 53 additions and 61 deletions

View File

@ -900,7 +900,7 @@ bool PrismUpdaterApp::callAppImageUpdate()
auto appimage_path = QProcessEnvironment::systemEnvironment().value(QStringLiteral("APPIMAGE"));
QProcess proc = QProcess();
qDebug() << "Calling: AppImageUpdate" << appimage_path;
proc.setProgram("bin/AppImageUpdate");
proc.setProgram(FS::PathCombine(m_rootPath, "bin", "AppImageUpdate-x86_64.AppImage"));
proc.setArguments({ appimage_path });
auto result = proc.startDetached();
if (!result)