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 NOISSUE Flatten gui and logic libraries into MultiMC 2021-07-25 19:50:44 +02:00
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 GH-4071 Heavily refactor and rearchitect account system 2021-12-04 01:18:05 +01:00
testdata NOISSUE Flatten gui and logic libraries into MultiMC 2021-07-25 19:50:44 +02:00
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 NOISSUE continue refactoring things to make tests pass 2021-11-21 23:21:12 +01:00
Component.cpp NOISSUE continue refactoring things to make tests pass 2021-11-21 23:21:12 +01:00
Component.h NOISSUE Flatten gui and logic libraries into MultiMC 2021-07-25 19:50:44 +02:00
ComponentUpdateTask_p.h NOISSUE Flatten gui and logic libraries into MultiMC 2021-07-25 19:50:44 +02:00
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 NOISSUE Flatten gui and logic libraries into MultiMC 2021-07-25 19:50:44 +02:00
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 NOISSUE continue refactoring things to make tests pass 2021-11-21 23:21:12 +01:00
Library.cpp NOISSUE continue refactoring things to make tests pass 2021-11-21 23:21:12 +01:00
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 NOISSE add a shortcut to the loaders mods to main window 2021-12-12 22:39:25 +01:00
MinecraftLoadAndCheck.cpp NOISSUE Flatten gui and logic libraries into MultiMC 2021-07-25 19:50:44 +02:00
MinecraftLoadAndCheck.h refactor: simpler includes for quazip 2022-01-31 21:40:59 +01:00
MinecraftUpdate.cpp NOISSUE continue refactoring things to make tests pass 2021-11-21 23:21:12 +01:00
MinecraftUpdate.h refactor: simpler includes for quazip 2022-01-31 21:40:59 +01:00
MojangDownloadInfo.h NOISSUE Flatten gui and logic libraries into MultiMC 2021-07-25 19:50:44 +02:00
MojangVersionFormat_test.cpp NOISSUE Flatten gui and logic libraries into MultiMC 2021-07-25 19:50:44 +02:00
MojangVersionFormat.cpp chore: add license header 2022-03-24 16:10:43 +01:00
MojangVersionFormat.h NOISSUE Flatten gui and logic libraries into MultiMC 2021-07-25 19:50:44 +02:00
OneSixVersionFormat.cpp Allow components to specify Java agents and JVM arguments (#175) 2022-04-06 08:22:24 +02:00
OneSixVersionFormat.h NOISSUE Flatten gui and logic libraries into MultiMC 2021-07-25 19:50:44 +02:00
OpSys.cpp Changes required to support FreeBSD 2021-12-12 11:39:36 +00:00
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 NOISSUE Flatten gui and logic libraries into MultiMC 2021-07-25 19:50:44 +02:00
ParseUtils.cpp NOISSUE Flatten gui and logic libraries into MultiMC 2021-07-25 19:50:44 +02:00
ParseUtils.h NOISSUE Flatten gui and logic libraries into MultiMC 2021-07-25 19:50:44 +02:00
ProfileUtils.cpp NOISSUE Flatten gui and logic libraries into MultiMC 2021-07-25 19:50:44 +02:00
ProfileUtils.h NOISSUE Flatten gui and logic libraries into MultiMC 2021-07-25 19:50:44 +02:00
Rule.cpp NOISSUE Flatten gui and logic libraries into MultiMC 2021-07-25 19:50:44 +02:00
Rule.h NOISSUE Flatten gui and logic libraries into MultiMC 2021-07-25 19:50:44 +02:00
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 NOISSUE Error on launch when launching 1.18 with < Java 17 2021-11-16 18:25:16 +00:00
VersionFilterData.h NOISSUE Error on launch when launching 1.18 with < Java 17 2021-11-16 18:25:16 +00:00
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