diff options
author | Petr Mrázek <peterix@gmail.com> | 2013-08-24 03:09:46 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2013-08-24 03:09:46 +0200 |
commit | e3b55067eb51ee82e72b41a1919406d768e00b89 (patch) | |
tree | a22158bc63242191463d450d1a3f37eeb37bba5b /logic/OneSixUpdate.cpp | |
parent | b78123166627139777fbd206866ee0d1c8bcd040 (diff) | |
download | MultiMC-e3b55067eb51ee82e72b41a1919406d768e00b89.tar MultiMC-e3b55067eb51ee82e72b41a1919406d768e00b89.tar.gz MultiMC-e3b55067eb51ee82e72b41a1919406d768e00b89.tar.lz MultiMC-e3b55067eb51ee82e72b41a1919406d768e00b89.tar.xz MultiMC-e3b55067eb51ee82e72b41a1919406d768e00b89.zip |
Legacy jar reassembly, base of proper custom jar support
Diffstat (limited to 'logic/OneSixUpdate.cpp')
-rw-r--r-- | logic/OneSixUpdate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/logic/OneSixUpdate.cpp b/logic/OneSixUpdate.cpp index 2bb2f496..09d3cb14 100644 --- a/logic/OneSixUpdate.cpp +++ b/logic/OneSixUpdate.cpp @@ -91,7 +91,7 @@ void OneSixUpdate::versionFileFinished() // save the version file in $instanceId/version.json { QString version1 = PathCombine(inst_dir, "/version.json"); - ensurePathExists(version1); + ensureFilePathExists(version1); // FIXME: detect errors here, download to a temp file, swap QFile vfile1 (version1); vfile1.open(QIODevice::Truncate | QIODevice::WriteOnly ); |