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

Merge branch 'develop' into feature/theme

parents a0ae7d9f f3e7aaec
No related branches found
No related tags found
No related merge requests found
{
"id": "ocs-manager",
"name": "ocs-manager",
"version": "0.4.1",
"version": "0.4.2",
"organization": "Opendesktop.org",
"domain": "org.opendesktop.ocs-manager",
"icon": "",
......
......@@ -314,8 +314,10 @@ void ItemHandler::installDownloadedFile(qtlib::NetworkResource *resource)
auto filename = metadata["filename"].toString();
auto installType = metadata["install_type"].toString();
auto tempDirPrefix = configHandler_->getAppConfigApplication()["id"].toString() + "_" + filename;
qtlib::Dir tempDir(qtlib::Dir::tempPath() + "/" + tempDirPrefix);
QString tempDirPrefix = "temp_" + filename;
qtlib::Dir tempDir(qtlib::Dir::genericCachePath() + "/"
+ configHandler_->getAppConfigApplication()["id"].toString() + "/"
+ tempDirPrefix);
tempDir.make();
qtlib::Dir tempDestDir(tempDir.path() + "/dest");
tempDestDir.make();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment