aboutsummaryrefslogtreecommitdiff
path: root/launcher
AgeCommit message (Collapse)Author
2022-05-23feat: add support for converting builtin -> packwiz mod formatsflow
Also adds more documentation.
2022-05-23refactor: remove unused mod info and organize some stuffflow
2022-05-23refactor: move mod tasks to their own subfolderflow
Makes the launcher/minecraft/mod/ folder a little more organized.
2022-05-23feat: use mod metadata for getting mod informationflow
For now this doesn't mean much, but it will help when we need data exclusive from the metadata, such as addon id and mod provider. Also removes the metadata when the mod is deleted, and make the Mod.h file a little more pleasing to look at :)
2022-05-23feat: add method to delete mod metadataflow
Also moves indexDir setting from LocalModUpdateTask -> ModFolderModel
2022-05-23feat: add parser for current impl of packwiz mod.tomlflow
This reads a local mod.toml file and extract information from it. Using C libs in C++ is kind of a pain tho :(
2022-05-23feat(ui): adapt SequentialTask to nested SequentialTasksflow
2022-05-23feat: add mod index updating to ModDownloadTaskflow
This makes ModDownloadTask into a SequentialTask with 2 subtasks: Downloading the mod files and updating the index with the new information. The index updating is done first so that, in the future, we can prompt the user before download if, for instance, we discover there's another version already installed.
2022-05-23feat: add very early mod.toml packwiz supportflow
Also use it as a on-disk format for storing mod metadata. This will be used later on to make better mod managment.
2022-05-23Merge pull request #621 from Scrumplex/remove-curseforge-workaroundsSefa Eyeoglu
2022-05-22Merge pull request #605 from jamierocks/h-atl-improvflow
ATLauncher: Various work to improve the platform support
2022-05-22revert: remove CurseForge workaroundSefa Eyeoglu
We have been asked by CurseForge to remove this workaround as it violates their terms of service. This is just a partial revert, as the UI changes were otherwise unrelated. This reverts commit 92e8aaf36f72b7527322add169b253d0698939d0, reversing changes made to 88a93945d4c9a11bf53016133335d359b819585e.
2022-05-22feat: add trailing slash to meta URL if it is missingSefa Eyeoglu
2022-05-22fix: improve spacing in APIPageSefa Eyeoglu
2022-05-22Make Metaserver changable in settingsdada513
Co-authored-by: Sefa Eyeoglu <contact@scrumplex.net> Co-authored-by: flow <flowlnlnln@gmail.com>
2022-05-22Merge pull request #554 from PolyMC/more_paste_servicesSefa Eyeoglu
2022-05-22Merge pull request #577 from PolyMC/fix/toolbar_🦀_fixSefa Eyeoglu
2022-05-22Merge pull request #597 from Scrumplex/refactor-modloader-modapiSefa Eyeoglu
2022-05-21Merge pull request #612 from DioEgizio/update-cf-logo-realEzekiel Smith
change cf icon to a more fancy one
2022-05-21Make if statement condition more readableLennyMcLennington
Co-authored-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-05-21Add migration wizard, fix migration from custom paste instanceLenny McLennington
- Very basic wizard just to allow the user to choose whether to keep their old paste settings or use the new default settings. - People who used custom 0x0 instances would just be kept on those settings and won't see the wizard.
2022-05-21Change paste settings and add copyright headersLenny McLennington
- There's now a notice reminding people to change the base URL if they had a custom base URL and change the paste type (that was something I personally had problems with when I was testing, so a reminder was helpful for me). - Broke down some of the long lines on APIPage.cpp to be more readable. - Added copyright headers where they were missing. - Changed the paste service display names to the names they are more commonly known by. - Changed the default hastebin base URL to https://hst.sh due to the acquisition of https://hastebin.com by Toptal.
2022-05-21Support paste.gg, hastebin, and mclo.gsLenny McLennington
2022-05-21change cf icon to a more fancy oneDioEgizio
taken from QuiltMC/art in the emoji folder, so it's licensed under CC0
2022-05-21ATLauncher: Display warnings when selecting optional modsJamie Mansfield
2022-05-21ATLauncher: Display install messages if applicableJamie Mansfield
2022-05-21ATLauncher: Display mod colours in optional mod dialogJamie Mansfield
2022-05-21Merge pull request #609 from timoreo22/feature/fix-blocked-modpacksdada513
2022-05-21Merge pull request #500 from flowln/net_refactorSefa Eyeoglu
Refactor a little the code in `launcher/net/` files
2022-05-21Merge pull request #606 from jamierocks/h-launch-versionSefa Eyeoglu
2022-05-21Do the url trick on initial modpack download tootimoreo
2022-05-21Merge pull request #608 from timoreo22/feature/curseforge-fixtimoreo22
Very Temporary Fix for curseforge
2022-05-20fix(ui): make CF and MR modpack dialogs more consistentSefa Eyeoglu
2022-05-20Apply suggestionstimoreo
2022-05-20Port temp fix to mods tootimoreo
2022-05-20Very Temporary Fix for curseforgetimoreo
2022-05-20Add cursefrog key overridedada513
2022-05-20Launch: Apply the Minecraft version correctlyJamie Mansfield
It was previously using a deprecated field.
2022-05-20Launch: Match Vanilla launcher version string behaviourJamie Mansfield
This removes a means of profiling users.
2022-05-20ATLauncher: Reduce boilerplate code for fetching versionsJamie Mansfield
2022-05-20ATLauncher: Install LiteLoader as a component where possibleJamie Mansfield
2022-05-20ATLauncher: Avoid downloading Forge twice for older packsJamie Mansfield
This resolves a quirk where Forge would still be downloaded for use as a jarmod, even when we detected Forge as a component.
2022-05-20Merge pull request #592 from flowln/technictimoreo22
Use empty string when version is null in the Technic pack manifest
2022-05-19chore: improve readabilitySefa Eyeoglu
Co-authored-by: flow <thiagodonato300@gmail.com>
2022-05-19refactor: allow tracking multiple mod loadersSefa Eyeoglu
2022-05-19fix: only consider enabled mod loadersSefa Eyeoglu
2022-05-18fix: support split nativesSefa Eyeoglu
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-18fix: version field in technic pack manifest being nullflow
Sometimes, the version field, that is supposed to be a string, was a null instead. Inspecting other entries, seems like the default for not having a version should be "", so I made it like that in case the version was null. I hope this fixes the issue :^)
2022-05-18Merge pull request #590 from DioEgizio/fix-qmj-over-fmjtimoreo22
fix(quilt) always prefer qmj over fmj
2022-05-18fix(quilt) always prefer qmj over fmjDioEgizio
this fixes Quilt-only mods like ok zoomer showing wrong metadata