summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2017-09-26 01:37:50 +0200
committerPetr Mrázek <peterix@gmail.com>2017-09-26 01:37:50 +0200
commit678c7ab2711f0c188368fbd4a2155ca69264506e (patch)
tree00a8581615be24f2e23ce04066e732a1eece6af6
parentf26ca143c48b878efa10712a9c1c362e84d479a5 (diff)
downloadMultiMC-678c7ab2711f0c188368fbd4a2155ca69264506e.tar
MultiMC-678c7ab2711f0c188368fbd4a2155ca69264506e.tar.gz
MultiMC-678c7ab2711f0c188368fbd4a2155ca69264506e.tar.lz
MultiMC-678c7ab2711f0c188368fbd4a2155ca69264506e.tar.xz
MultiMC-678c7ab2711f0c188368fbd4a2155ca69264506e.zip
NOISSUE remove Flame manifest on import
This prevents treating the instance as a Flame pack later.
-rw-r--r--api/logic/InstanceImportTask.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/api/logic/InstanceImportTask.cpp b/api/logic/InstanceImportTask.cpp
index 8ce2ad2a..0f2f8ba4 100644
--- a/api/logic/InstanceImportTask.cpp
+++ b/api/logic/InstanceImportTask.cpp
@@ -191,6 +191,7 @@ void InstanceImportTask::processFlame()
{
QString configPath = FS::PathCombine(m_stagingPath, "manifest.json");
Flame::loadManifest(pack, configPath);
+ QFile::remove(configPath);
}
catch (JSONValidationError & e)
{