mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-02 03:16:58 +03:00
Add a MMC-depend field (soft/hard) for version checking
This commit is contained in:
parent
790402bdce
commit
ece826bdbc
8 changed files with 351 additions and 32 deletions
|
|
@ -171,7 +171,11 @@ bool ForgeInstaller::add(OneSixInstance *to)
|
|||
if (!found)
|
||||
{
|
||||
// add lib
|
||||
libObj.insert("insert", QString("prepend-if-not-exists"));
|
||||
libObj.insert("insert", QString("prepend"));
|
||||
if (lib->name() == "minecraftforge")
|
||||
{
|
||||
libObj.insert("MMC-depend", QString("hard"));
|
||||
}
|
||||
sliding_insert_window++;
|
||||
}
|
||||
librariesPlus.prepend(libObj);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue