diff --git a/src/handlers/xdgurl.cpp b/src/handlers/xdgurl.cpp index 8b96d29c6288747809d0cc4a48f4a193f8438703..32eee42a93c5f7be10fe196ac4db2c527705285f 100644 --- a/src/handlers/xdgurl.cpp +++ b/src/handlers/xdgurl.cpp @@ -193,9 +193,9 @@ void XdgUrl::_installDownloadedFile(QNetworkReply *reply) && Utility::Package::installPlasmapkg(temporaryFile.fileName(), "windowswitcher")) { result["message"] = QString("The KWin window switcher has been installed"); } - else if (type == "appimages" + else if (type == "bin" || type == "appimage" && Utility::Package::installProgram(temporaryFile.fileName(), path)) { - result["message"] = QString("The Appimage has been installed into " + destination); + result["message"] = QString("The program has been installed into " + destination); } else if (Utility::Package::uncompressArchive(temporaryFile.fileName(), destination)) { result["message"] = QString("The archive file has been uncompressed into " + destination);