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 Allow components to specify Java agents and JVM arguments (#175) 2022-04-06 08:22:24 +02:00
Agent.h Allow components to specify Java agents and JVM arguments (#175) 2022-04-06 08:22:24 +02:00
AssetsUtils.cpp NOISSUE fix build and change how NetJob is used 2021-12-31 05:27:59 +01:00
AssetsUtils.h
Component.cpp
Component.h
ComponentUpdateTask_p.h
ComponentUpdateTask.cpp fix: remove unused code 2022-04-14 16:50:04 +02:00
ComponentUpdateTask.h fix: remove unused code 2022-04-14 16:50:04 +02:00
GradleSpecifier_test.cpp
GradleSpecifier.h fix: support split natives 2022-05-18 22:51:15 +02:00
LaunchProfile.cpp Allow components to specify Java agents and JVM arguments (#175) 2022-04-06 08:22:24 +02:00
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 More rebranding 2022-01-10 12:47:35 -05:00
MinecraftInstance.cpp Add instance overrides for miscellaneous settings 2022-05-12 17:08:06 -04:00
MinecraftInstance.h
MinecraftLoadAndCheck.cpp
MinecraftLoadAndCheck.h refactor: simpler includes for quazip 2022-01-31 21:40:59 +01:00
MinecraftUpdate.cpp
MinecraftUpdate.h refactor: simpler includes for quazip 2022-01-31 21:40:59 +01:00
MojangDownloadInfo.h
MojangVersionFormat_test.cpp
MojangVersionFormat.cpp chore: add license header 2022-03-24 16:10:43 +01:00
MojangVersionFormat.h
OneSixVersionFormat.cpp Allow components to specify Java agents and JVM arguments (#175) 2022-04-06 08:22:24 +02:00
OneSixVersionFormat.h
OpSys.cpp
OpSys.h NOISSUE fix some OS ifdefs 2021-12-31 00:36:25 +01:00
PackProfile_p.h refactor: drop migration for pre-component instances 2022-02-21 22:11:10 +01:00
PackProfile.cpp refactor: cleanup ModLoaderType 2022-04-14 21:55:03 +02:00
PackProfile.h fix: check for Quilt as Fabric-compatible loader 2022-04-07 18:46:09 +02:00
ParseUtils_test.cpp
ParseUtils.cpp
ParseUtils.h
ProfileUtils.cpp
ProfileUtils.h
Rule.cpp
Rule.h
VersionFile.cpp Allow components to specify Java agents and JVM arguments (#175) 2022-04-06 08:22:24 +02:00
VersionFile.h Allow components to specify Java agents and JVM arguments (#175) 2022-04-06 08:22:24 +02:00
VersionFilterData.cpp
VersionFilterData.h
World.cpp fix: calculate world sizes individually 2022-04-02 13:29:37 +02:00
World.h fix: remove redundant include 2022-04-01 13:14:04 +02:00
WorldList.cpp fix: use size in bytes to sort by world size 2022-04-19 15:07:14 +02:00
WorldList.h feat: track and display world size 2022-03-31 18:45:17 +02:00