fix: use same ForgeWrapper for both Forge and NeoForge

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu 2023-08-17 22:21:38 +02:00
parent 4b91458b0a
commit ca4fb33fde
No known key found for this signature in database
GPG Key ID: E13DFD4B47127951
3 changed files with 4 additions and 10 deletions

View File

@ -11,8 +11,8 @@ from meta.common.neoforge import (
VERSION_MANIFEST_DIR,
DERIVED_INDEX_FILE,
INSTALLER_INFO_DIR,
FORGEWRAPPER_LIBRARY,
)
from meta.common.forge import FORGEWRAPPER_LIBRARY
from meta.common.mojang import MINECRAFT_COMPONENT
from meta.model import (
MetaVersion,

View File

@ -16,8 +16,8 @@ STATIC_LEGACYINFO_FILE = join(BASE_DIR, "forge-legacyinfo.json")
FORGE_COMPONENT = "net.minecraftforge"
FORGEWRAPPER_LIBRARY = make_launcher_library(
GradleSpecifier("io.github.zekerzhayard", "ForgeWrapper", "mmc2"),
"4ee5f25cc9c7efbf54aff4c695da1054c1a1d7a3",
34444,
GradleSpecifier("io.github.zekerzhayard", "ForgeWrapper", "1.5.6-prism"),
"b059aa8c4d2508055c6ed2a2561923a5e670a5eb",
34860,
)
BAD_VERSIONS = ["1.12.2-14.23.5.2851"]

View File

@ -12,9 +12,3 @@ FILE_MANIFEST_DIR = join(BASE_DIR, "files_manifests")
DERIVED_INDEX_FILE = join(BASE_DIR, "derived_index.json")
NEOFORGE_COMPONENT = "net.neoforged"
FORGEWRAPPER_LIBRARY = make_launcher_library(
GradleSpecifier("io.github.zekerzhayard", "ForgeWrapper", "1.5.6-prism"),
"b059aa8c4d2508055c6ed2a2561923a5e670a5eb",
34860,
)