Includes a C++ port of a OpenJDK's MANIFEST.MF parser, which might be useful by upstream Prism Launcher in launcher/minecraft/mod/tasks/LocalModParseTask.cpp. The parser they currently use is fragile.
With this patch, Fjord Launcher users can use a custom authlib-injector JAR by clicking "Add Agents" and selecting their JAR. We identify authlib-injector JARs by parsing the JAR's MANIFEST.MF and checking whether the Agent-Class field matches moe.yushi.authlibinjector.Premain.
Includes a C++ port of a OpenJDK's MANIFEST.MF parser, which might be useful by upstream Prism Launcher in
launcher/minecraft/mod/tasks/LocalModParseTask.cpp
. The parser they currently use is fragile.With this patch, Fjord Launcher users can use a custom authlib-injector JAR by clicking "Add Agents" and selecting their JAR. We identify authlib-injector JARs by parsing the JAR's MANIFEST.MF and checking whether the
Agent-Class
field matchesmoe.yushi.authlibinjector.Premain
.Related: https://github.com/fn2006/PollyMC/discussions/173.