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

Fix argument

parent 6c87c7c5
No related branches found
No related tags found
No related merge requests found
......@@ -101,12 +101,12 @@ bool Package::uninstallPlasmapkg(const QString &path, const QString &type)
return false;
}
bool Package::installAppimage(const QString &path, const QString &targetDir)
bool Package::installAppimage(const QString &path, const QString &targetPath)
{
QProcess process;
QString program = "install";
QStringList arguments;
arguments << "-D" << "-m" << "755" << path << targetDir;
arguments << "-D" << "-m" << "755" << path << targetPath;
process.start(program, arguments);
......
......@@ -15,7 +15,7 @@ public:
static bool uncompressArchive(const QString &path, const QString &targetDir);
static bool installPlasmapkg(const QString &path, const QString &type = "plasmoid");
static bool uninstallPlasmapkg(const QString &path, const QString &type = "plasmoid");
static bool installAppimage(const QString &path, const QString &targetDir);
static bool installAppimage(const QString &path, const QString &targetPath);
};
} // namespace Utility
......
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