Skip to content
Snippets Groups Projects
Commit d95bbeb3 authored by akiraohgaki's avatar akiraohgaki
Browse files

Install Appimage

parent e7c2f8dd
No related branches found
No related tags found
No related merge requests found
......@@ -190,6 +190,10 @@ 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"
&& Utility::Package::installAppimage(temporaryFile.fileName(), path)) {
result["message"] = QString("The Appimage has been installed into " + destination);
}
else if (Utility::Package::uncompressArchive(temporaryFile.fileName(), destination)) {
result["message"] = QString("The archive file has been uncompressed into " + destination);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment