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

Drop install-type appimages

parent cb49bbc8
No related branches found
No related tags found
No related merge requests found
{ {
"bin": "$HOME/bin", "bin": "$HOME/bin",
"appimages": "$HOME/.appimages",
"downloads": "$HOME/Downloads", "downloads": "$HOME/Downloads",
"documents": "$HOME/Documents", "documents": "$HOME/Documents",
"pictures": "$HOME/Pictures", "pictures": "$HOME/Pictures",
......
...@@ -152,10 +152,6 @@ void XdgUrl::_installDownloadedFile(QNetworkReply *reply) ...@@ -152,10 +152,6 @@ void XdgUrl::_installDownloadedFile(QNetworkReply *reply)
&& Utility::Package::installProgram(temporaryFile.fileName(), path)) { && Utility::Package::installProgram(temporaryFile.fileName(), path)) {
result["message"] = QString("The program has been installed into " + destination); result["message"] = QString("The program has been installed into " + destination);
} }
else if (type == "appimages"
&& Utility::Package::installProgram(temporaryFile.fileName(), path)) {
result["message"] = QString("The Appimage has been installed into " + destination);
}
else if ((type == "plasma_plasmoids" || type == "plasma4_plasmoids" || type == "plasma5_plasmoids") else if ((type == "plasma_plasmoids" || type == "plasma4_plasmoids" || type == "plasma5_plasmoids")
&& Utility::Package::installPlasmapkg(temporaryFile.fileName(), "plasmoid")) { && Utility::Package::installPlasmapkg(temporaryFile.fileName(), "plasmoid")) {
result["message"] = QString("The plasmoid has been installed"); result["message"] = QString("The plasmoid has been installed");
......
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