pollymc/launcher/minecraft
Sefa Eyeoglu f66e0fa0e8
fix: support split natives
Mojang introduced a new structure for natives, notably for LWJGL.
Now instead of using the `natives` structure of the version format, Mojang
chose to create a seperate library entry for each platform, which uses
the `rules` structure to specify the platform. These new split natives
carry the same groupId and artifactId, as the main library, but have an
additional classifier, like `natives-linux`.

When comparing GradleSpecifiers we don't look at the classifier, so when
the launcher sees an artifact called `org.lwjgl:lwjgl:3.3.1` and right
after that an artifact called `org.lwjgl:lwjgl:3.3.1:natives-linux`, it
will treat it as "already added" and forget it.

This change will include the classifier in that comparison.
2022-05-18 22:51:15 +02:00
..
auth Merge pull request #475 from Scrumplex/fix-hide-all-tokens 2022-05-02 10:45:58 +02:00
gameoptions
launch Add instance overrides for miscellaneous settings 2022-05-12 17:08:06 -04:00
mod fix(quilt) always prefer qmj over fmj 2022-05-18 14:33:58 +02:00
services
testdata
update
Agent.h
AssetsUtils.cpp
AssetsUtils.h
Component.cpp
Component.h
ComponentUpdateTask_p.h NOISSUE Flatten gui and logic libraries into MultiMC 2021-07-25 19:50:44 +02:00
ComponentUpdateTask.cpp
ComponentUpdateTask.h
GradleSpecifier_test.cpp
GradleSpecifier.h fix: support split natives 2022-05-18 22:51:15 +02:00
LaunchProfile.cpp
LaunchProfile.h Allow components to specify Java agents and JVM arguments (#175) 2022-04-06 08:22:24 +02:00
Library_test.cpp
Library.cpp
Library.h
MinecraftInstance.cpp Add instance overrides for miscellaneous settings 2022-05-12 17:08:06 -04:00
MinecraftInstance.h
MinecraftLoadAndCheck.cpp
MinecraftLoadAndCheck.h
MinecraftUpdate.cpp
MinecraftUpdate.h refactor: simpler includes for quazip 2022-01-31 21:40:59 +01:00
MojangDownloadInfo.h
MojangVersionFormat_test.cpp
MojangVersionFormat.cpp
MojangVersionFormat.h
OneSixVersionFormat.cpp
OneSixVersionFormat.h
OpSys.cpp Changes required to support FreeBSD 2021-12-12 11:39:36 +00:00
OpSys.h
PackProfile_p.h
PackProfile.cpp
PackProfile.h
ParseUtils_test.cpp
ParseUtils.cpp
ParseUtils.h
ProfileUtils.cpp
ProfileUtils.h
Rule.cpp NOISSUE Flatten gui and logic libraries into MultiMC 2021-07-25 19:50:44 +02:00
Rule.h
VersionFile.cpp
VersionFile.h
VersionFilterData.cpp
VersionFilterData.h
World.cpp
World.h
WorldList.cpp fix: use size in bytes to sort by world size 2022-04-19 15:07:14 +02:00
WorldList.h