GH-985 fix jar mods
This commit is contained in:
parent
5334d88c1d
commit
22a0294a33
@ -374,6 +374,8 @@ bool OneSixProfileStrategy::installJarMods(QStringList filepaths)
|
|||||||
f->order = profile->getFreeOrderNumber();
|
f->order = profile->getFreeOrderNumber();
|
||||||
QString patchFileName = PathCombine(patchDir, target_id + ".json");
|
QString patchFileName = PathCombine(patchDir, target_id + ".json");
|
||||||
f->filename = patchFileName;
|
f->filename = patchFileName;
|
||||||
|
f->setMovable(true);
|
||||||
|
f->setRemovable(true);
|
||||||
|
|
||||||
QFile file(patchFileName);
|
QFile file(patchFileName);
|
||||||
if (!file.open(QFile::WriteOnly))
|
if (!file.open(QFile::WriteOnly))
|
||||||
|
Loading…
Reference in New Issue
Block a user