accept libarchive warning result

this is the intended behavior to treat warnings as ok, because
teoretically the file was extracted, even if the time of the file can't
be set

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
Trial97 2026-01-14 00:17:17 +02:00
parent c64d871a28
commit a6d6ff9926
No known key found for this signature in database
GPG key ID: 55EF5DA53DB36318
2 changed files with 2 additions and 3 deletions

View file

@ -154,13 +154,11 @@ void InstanceImportTask::processZipPack()
qDebug() << "Flame:" << true;
m_modpackType = ModpackType::Flame;
stop = true;
return true;
} else if (QFileInfo fileInfo(fileName); fileInfo.fileName() == "instance.cfg") {
qDebug() << "MultiMC:" << true;
m_modpackType = ModpackType::MultiMC;
root = cleanPath(fileInfo.path());
stop = true;
return true;
}
QCoreApplication::processEvents();
return true;