Add an option to force using local updater binary (for updater development)

This commit is contained in:
Petr Mrázek
2014-01-05 14:24:33 +01:00
parent 613c01dab5
commit a64eebf8eb
3 changed files with 6 additions and 2 deletions

View File

@ -404,7 +404,7 @@ DownloadUpdateTask::processFileLists(NetJob *job,
if (isUpdater)
{
#ifdef MultiMC_UPDATER_DRY_RUN
#ifdef MultiMC_UPDATER_FORCE_LOCAL
QLOG_DEBUG() << "Skipping updater download and using local version.";
#else
auto cache_entry = MMC->metacache()->resolveEntry("root", entry.path);