1
0
mirror of https://github.com/SKCraft/Launcher.git synced 2024-11-30 13:13:58 +01:00
Commit Graph

28 Commits

Author SHA1 Message Date
Henry Le Grys
54c05d1f9b Upgrade to Gradle 7 2022-04-26 22:42:15 +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
4aaa4f9931 Update Gradle & plugins to support Java 9+ better 2021-02-05 04:05:48 +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
ffdea1f59a Update gradle buildscripts to use 'application' plugin 2020-12-22 22:01:15 +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
40b5fb838c Update to Java 9/10. Fancy version is still broken. 2018-07-14 19:09:40 -07: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