summaryrefslogtreecommitdiffstats
path: root/api/logic/InstanceImportTask.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2017-09-08 09:02:27 +0200
committerPetr Mrázek <peterix@gmail.com>2017-09-08 09:02:27 +0200
commit3fb4ce713fb7fdef2753009967fa58103fa69974 (patch)
treee1d9b9db3168a631100fb37fde4359d9d857e52a /api/logic/InstanceImportTask.cpp
parent32a2cb5a0dabbe19eef04f378824af8a10487d97 (diff)
downloadMultiMC-3fb4ce713fb7fdef2753009967fa58103fa69974.tar
MultiMC-3fb4ce713fb7fdef2753009967fa58103fa69974.tar.gz
MultiMC-3fb4ce713fb7fdef2753009967fa58103fa69974.tar.lz
MultiMC-3fb4ce713fb7fdef2753009967fa58103fa69974.tar.xz
MultiMC-3fb4ce713fb7fdef2753009967fa58103fa69974.zip
NOISSUE add support for Flame packs with resource packs
And a bunch of undefined things we don't handle intentionally just yet...
Diffstat (limited to 'api/logic/InstanceImportTask.cpp')
-rw-r--r--api/logic/InstanceImportTask.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/api/logic/InstanceImportTask.cpp b/api/logic/InstanceImportTask.cpp
index 5a824cb1..2bbdd897 100644
--- a/api/logic/InstanceImportTask.cpp
+++ b/api/logic/InstanceImportTask.cpp
@@ -297,8 +297,8 @@ void InstanceImportTask::processFlame()
m_filesNetJob.reset(new NetJob(tr("Mod download")));
for(auto result: results.files)
{
- auto path = FS::PathCombine(m_stagingPath, "minecraft/mods", result.fileName);
- auto dl = Net::Download::makeFile(result.url,path);
+ auto path = FS::PathCombine(m_stagingPath ,"minecraft", result.targetFolder, result.fileName);
+ auto dl = Net::Download::makeFile(result.url, path);
m_filesNetJob->addNetAction(dl);
}
m_modIdResolver.reset();