fix: include ^<optional^> updater doesn't need to know about mods

Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
This commit is contained in:
Rachel Powers
2023-06-25 16:10:06 -07:00
parent 5b04a17730
commit 10266f65e4
4 changed files with 10 additions and 2 deletions

View File

@ -38,7 +38,10 @@
#include <QString>
#include <QFileInfo>
#include <QSet>
#include <QUrl>
#if defined(LAUNCHER_APPLICATION)
#include "minecraft/mod/Mod.h"
#endif
#include <functional>
#include <quazip/JlCompress.h>
@ -74,10 +77,12 @@ namespace MMCZip
*/
bool compressDirFiles(QString fileCompressed, QString dir, QFileInfoList files, bool followSymlinks = false);
#if defined(LAUNCHER_APPLICATION)
/**
* take a source jar, add mods to it, resulting in target jar
*/
bool createModdedJar(QString sourceJarPath, QString targetJarPath, const QList<Mod*>& mods);
#endif
/**
* Find a single file in archive by file name (not path)