diff --git a/pcsx2-qt/AutoUpdaterDialog.cpp b/pcsx2-qt/AutoUpdaterDialog.cpp index f62a319d22..93349a9195 100644 --- a/pcsx2-qt/AutoUpdaterDialog.cpp +++ b/pcsx2-qt/AutoUpdaterDialog.cpp @@ -753,9 +753,13 @@ bool AutoUpdaterDialog::processUpdate(const std::vector& data, QProgressDial } // Execute new appimage. + QStringList arguments{QStringLiteral("-updatecleanup")}; + if (EmuConfig.IsPortableMode) + arguments << QStringLiteral("-portable"); + QProcess* new_process = new QProcess(); new_process->setProgram(qappimage_path); - new_process->setArguments(QStringList{QStringLiteral("-updatecleanup")}); + new_process->setArguments(arguments); if (!new_process->startDetached()) { reportError("Failed to execute new AppImage.");