diff options
author | Petr Mrázek <peterix@gmail.com> | 2017-09-26 01:37:50 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2017-09-26 01:37:50 +0200 |
commit | 678c7ab2711f0c188368fbd4a2155ca69264506e (patch) | |
tree | 00a8581615be24f2e23ce04066e732a1eece6af6 | |
parent | f26ca143c48b878efa10712a9c1c362e84d479a5 (diff) | |
download | MultiMC-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.cpp | 1 |
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) { |