MovingBlocks / TerasologyLauncher

Terasology Launcher is the official launcher for the open source game Terasology.
http://terasology.org/
Apache License 2.0
153 stars 76 forks source link

chore: restructure 'platform' package and add 'jre' package #708

Open skaldarnar opened 9 months ago

skaldarnar commented 9 months ago

Contains

Since we want to manage JREs for different platforms, the respective code needs to become a bit more elaborate. Therefore, introduce a new platform package with the Platform utility class and OS and Arch enums.

In addition, start working on jre-related classes to define and handle JREArtefacts to be downloaded and managed.

How to test

Ensure that the launcher is still working as before (no new features).

Outstanding before merging

Not yet ready for merging.

soloturn commented 2 months ago

@skaldarnar @BenjaminAmos this is still needed? and if yes it still has the old stuff in it?

BenjaminAmos commented 2 months ago

714 contains part of what was here but only for target platforms. JRE artifacts are not handled yet and #714 diverges from this, meaning that this pull request will likely need a re-write to base it on those changes instead.