1
0
mirror of https://github.com/SKCraft/Launcher.git synced 2024-11-24 12:16:28 +01:00
Commit Graph

30 Commits

Author SHA1 Message Date
DaPorkchop_
31a13115fb
copy logging config from loader version manifest 2023-08-04 18:14:09 +02:00
Dreytac
c61575d3e2
Allow zip files as libraries. 2022-08-17 04:11:31 +10:00
Henry Le Grys
460070e82f NOISSUE Fix forge manifests with empty artifact URLs failing 2022-08-11 22:59:07 +01:00
Henry Le Grys
2a6c5ee015 GH-481 Add Quilt loader support
... with a caveat that it may break in future due to Quilt's broken
metadata
2022-08-07 03:15:47 +01:00
Henry Le Grys
debd822447 Hotfix package builder emitting JSON with missing keys for empty values
The meaning of `mapper.setSerializationInclusion` changed with the
Jackson upgrade, which meant that empty collections were being fully
stripped from the output. Fix by changing the strategy to NON_ABSENT,
which only strips nulls and "absent" values like Optional.absent
2022-05-01 15:34:48 +01:00
Henry Le Grys
868426498f Upgrade dependencies & fix deprecations 2022-04-26 23:05:44 +01:00
Henry Le Grys
5c3768f1cf Always use proper local libraries folder path
There were a couple places where I relied on the manifest to have
the default libraries location of "libraries"; this commit fixes those
instances. Without this fix it would be possible for a custom libraries
URL path to leak into the local filesystem, which might've mucked
something up.
2021-09-04 00:34:09 +01:00
Henry Le Grys
7c783189dd Add support for Forge 1.17 processors 2021-09-02 06:56:57 +01:00
Henry Le Grys
660fb40c44 Fix weird Lists import from internal jcommander package 2021-02-18 23:30:14 +00:00
Henry Le Grys
52c02edba0 Fix library compressor URL transformer 2021-01-29 18:09:49 +00:00
Henry Le Grys
3907158274 Disable automatically writing hashes to .url.txt files 2021-01-25 14:42:15 +00:00
Henry Le Grys
67f3fc1fa4 Add a scanner to download missing targets of .url.txt files 2021-01-25 14:38:26 +00:00
Henry Le Grys
3a7c250736 Improve fabric loader processor by better utilizing fabric meta API
Removes a bunch of hardcoded workarounds :)
2021-01-06 23:07:11 +00:00
Henry Le Grys
3981fe4ab2 Download all libraries for every platform when building packs 2021-01-05 02:59:33 +00:00
Henry Le Grys
d6ac0983de Fix forge loaders being named wrong & warning for wrong loader version 2020-12-25 00:49:55 +00:00
Henry Le Grys
e22e70ea81 Add flag in version info: loader should override version arguments
Fixes #4
2020-12-23 00:23:35 +00:00
Henry Le Grys
22ac043cdd Bump minimum manifest version 2020-12-19 19:13:02 +00:00
Henry Le Grys
9a32ab8dc3 Add support for Fabric loader & expand SidedData
Also improved library handling some more
2020-12-03 01:17:18 +00:00
Henry Le Grys
69a001282c Support LiteLoader again by improving processor selection logic 2020-12-02 04:27:10 +00:00
Henry Le Grys
e1062303df Fix argument passing & add back commandline for legacy versions
- Game/jvm arguments are now passed one-at-a-time, never grouped
- Added support for legacy version manifests by adding in the missing
arguments
- Correctly pull arguments from old manifests
- Some slightly hacky handling for old library stanzas
- Short-circuit if library URL has empty path to prevent accidentally
downloading HTML pages as jars
- Add launcherShortname prop, passed to --versionType
2020-12-02 04:14:29 +00:00
Henry Le Grys
aeedf09f8c Refactor loader processing into subclasses for greater flexibility 2020-12-02 02:29:52 +00:00
Henry Le Grys
8b6f3abaf9 Skip extra files that are server-only 2020-12-02 01:22:26 +00:00
Henry Le Grys
86247c98a9 Update launcher/runner component to new models
- Fix game arguments being missing from version manifest due to new format
- Update Runner to use more substitutions & support new argument model
- Move loader/installer libraries to their own section to avoid runtime conflicts
- Implement some basic feature matching for arguments
2020-12-01 23:41:55 +00:00
Henry Le Grys
410031a86f Initial 1.16 update
oh lord okay
- Update to new launchermeta endpoint for version manifests
- Fix library handling (libraries now seem to give us the URL most of the time)
- Write entire new system for handling the forge installer process
- Fix asset handling, mostly (still TODO is remove all traces of assetSource, it's given to us by launchermeta now)
2020-12-01 18:41:44 +00:00
sk89q
183fab764d [Creator] Don't re-download mods using a download URL every time. 2015-07-24 16:09:03 -07:00
sk89q
7416e53994 Fix URL override still resulting in a (broken) file copy. 2015-07-23 23:54:33 -07:00
sk89q
0cc95225dd Add new creator tools. 2015-07-23 23:46:18 -07:00
sk89q
4fc8c274c3 Expand the build tools to encompass many more tasks. 2015-07-21 01:23:57 -07:00
Antony Derham
951a854384 Correct location/to mix-up
If .url.txt is used, the manifest file should specify that as the download location, not the local "to" location
2015-03-12 14:37:26 +00:00
sk89q
5b6681b8ea Switch to Gradle. Use git log --follow for history.
This converts the project into a multi-module Gradle build.

By default, Git does not show history past a rename, so use git log
--follow to see further history.
2015-02-18 21:30:25 -08:00