mirror of
https://github.com/UltimMC/Launcher.git
synced 2025-12-22 19:49:56 +00:00
NOISSUE Fix jar mods for OnesSix
This commit is contained in:
18
logic/JarUtils.h
Normal file
18
logic/JarUtils.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#pragma once
|
||||
#include <QString>
|
||||
#include <QFileInfo>
|
||||
#include <QSet>
|
||||
#include "Mod.h"
|
||||
#include <functional>
|
||||
|
||||
class QuaZip;
|
||||
namespace JarUtils
|
||||
{
|
||||
bool noFilter(QString);
|
||||
bool metaInfFilter(QString key);
|
||||
|
||||
bool mergeZipFiles(QuaZip *into, QFileInfo from, QSet<QString> &contained,
|
||||
std::function<bool(QString)> filter);
|
||||
|
||||
bool createModdedJar(QString sourceJarPath, QString targetJarPath, const QList<Mod>& mods);
|
||||
}
|
||||
Reference in New Issue
Block a user