614477ef06
add some tests for debugging (tilera, once you code someting pls try to add tests if possible and run "test" before committing)
2020-08-03 15:14:12 +02:00
c99a1f8bdb
contributors in modlists will now be colored
2020-08-03 00:03:24 +02:00
fb0ed7b19d
enum arguments for CreateModlist.kt are now case insensitive
2020-08-02 21:36:59 +02:00
3fb1e275c4
added sorting options to CreateModlist.kt
2020-08-02 20:55:44 +02:00
fcfba73056
added the File.unzip function to Util
2020-08-02 18:05:15 +02:00
dc0b248035
FileDownloader.kt now uses a function instead of the constructor for downloading stuff for better performance
...
replaced ExistingFileBehaviour with boolean
2020-08-02 17:42:27 +02:00
dfe682f41e
use argparse4j for args
2020-08-01 19:22:21 +02:00
8863e703bc
add toString to MissingConfigValueException
2020-07-29 23:52:22 +02:00
789cfa53b7
add and use MissingConfigValueException
...
minor cleanups
2020-07-29 23:43:34 +02:00
312cb39459
Merge remote-tracking branch 'origin/master'
2020-07-29 23:20:39 +02:00
c03623dc38
Init is now creating modpack dev environment
2020-07-29 23:20:15 +02:00
dbc0892753
CreateModlist will now accept an "all" option to not only add mods to the list
...
CreateModlist will now use not only client relations
if no link is specified, there will be no href in the mod list
2020-07-29 22:38:28 +02:00
93cef01984
Updated Addonscript
2020-07-29 22:15:22 +02:00
067545aa84
fix race condition from counting down before calling callback in FileDownloader.kt
2020-07-29 22:12:16 +02:00
bcfea8f8f1
Merge remote-tracking branch 'origin/master'
2020-07-29 19:30:17 +02:00
f7df31ceac
commands will now be case insensitive
...
add TODO.txt
2020-07-29 19:29:52 +02:00
fa049cabc4
Updated Addonscript
2020-07-29 15:04:53 +02:00
4cca46365f
add >>> to shell
2020-07-29 14:19:56 +02:00
a212e03e59
fix really stupid mistake when downloading mods in BuildTwitch
2020-07-29 14:14:37 +02:00
4cfc122dea
added shell
...
config will now always be reloaded to prevent a shell restart being required when config gets generated
modpackjson will also be reloaded
2020-07-29 13:06:25 +02:00
6571ba6531
mods will now be downloaded for twitch.
2020-07-28 20:53:49 +02:00
9406ace044
fix zip stuff
...
remove modpackjson config option with source dir
2020-07-28 19:19:36 +02:00
07bc8a062a
clean up tilera's spaghet
2020-07-28 18:40:47 +02:00
b33db1b469
BuildTwitch.kt can now install files
2020-07-28 17:49:16 +02:00
3a5a26a9b7
Merge branch 'master' of https://github.com/Anvilcraft/modpacktools
...
Conflicts:
src/main/kotlin/ley/anvil/modpacktools/util/Util.kt
2020-07-28 16:45:41 +02:00
73ea7a57de
Added BuildTwitch.kt (not functional yet)
2020-07-28 16:44:02 +02:00
63057c0ac4
Added Zip to Util.kt
2020-07-28 16:42:39 +02:00
ecaa9333c7
config is not relative to working dir instead of jar file
2020-07-28 13:55:48 +02:00
3fa8924c35
command loader will now use kotlin reflection instead of java reflection whenever possible
...
modlist will use paragraphs for description instead of just line breaks
modlist will not add image to HTML if the dependency has no image
moved help messages for missing config/modpackjson out of CommandLoader.kt and replaced with exceptions
fix formatting and improve CSS for modlist
2020-07-28 13:18:56 +02:00
b3cd41f215
cleanup
2020-07-28 00:02:29 +02:00
b795dc1d79
Merge remote-tracking branch 'origin/master'
...
# Conflicts:
# src/main/kotlin/ley/anvil/modpacktools/commands/CreateModlist.kt
2020-07-27 23:22:12 +02:00
1653478a92
improve CustomToml.kt
...
CreateModlist.kt will now read CSS from resources instead of from string in code
2020-07-27 23:20:34 +02:00
363468e0f9
Switched from string link to FileOrLink
2020-07-27 23:16:49 +02:00
c4635528cf
ASConverter.kt converts an Addonscript to a Curse Manifest and a Map with links/files and installer ids
2020-07-27 23:04:30 +02:00
b9d14f7f1f
remove unused ModInfo class and broken AddMod command (to be rewritten)
2020-07-27 14:33:24 +02:00
2c4b29c959
improve modlist
2020-07-27 14:11:42 +02:00
05291ab8e8
small fix
2020-07-27 00:24:46 +02:00
afe042be38
Updated Addonscript (reimport of Manifest needed)
2020-07-27 00:10:13 +02:00
6e2941ef94
fix imports and add comments
2020-07-26 23:53:19 +02:00
4f1a187c7d
port main to KT
...
added lazy initialization to objects in main (should cause significant performance improvement)
2020-07-26 23:30:46 +02:00
b2d8a7489a
port CustomToml to kt
2020-07-26 22:39:53 +02:00
b427ff532b
small cleanup
2020-07-26 20:32:02 +02:00
9aea30e441
change name of util class in java
2020-07-26 19:46:55 +02:00
643960c8a7
improve mod list css
2020-07-26 19:03:10 +02:00
9d3c82fe37
fix tilera's code
2020-07-26 16:59:31 +02:00
86c7c7d67d
make json var in ModpackJsonHandler.kt return json instead of wrapper
2020-07-26 16:44:02 +02:00
fdbbea9682
Implemented new Addonscript
2020-07-26 16:38:16 +02:00
cc5fcd6cd2
update addonscript (everything is broken currently)
2020-07-26 15:54:02 +02:00
abaaadb59c
ported mpjh to kt
2020-07-26 15:50:22 +02:00
26361cbe66
ported Config to kt
2020-07-26 15:19:19 +02:00