diff options
| author | Caroline Larimore <caroline@larimo.re> | 2025-08-18 01:25:44 -0700 |
|---|---|---|
| committer | Caroline Larimore <caroline@larimo.re> | 2025-08-18 01:25:44 -0700 |
| commit | 8a012c97b7ba3777d8d4b9c3a79416d5803a0877 (patch) | |
| tree | ccf483445bcb6dcfd60abbfeb758dc7cea9f2b43 /meta.jq | |
| parent | 0acd9acd953dae1dea70a9c1af45b825713e8a89 (diff) | |
refactor: move launcher info from jq filter to script
Diffstat (limited to 'meta.jq')
| -rw-r--r-- | meta.jq | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -25,20 +25,13 @@ def replace_placeholders: { "assets_index_name": .assets, - "assets_root": "${assets_directory}", - #"game_directory": "run", - #"natives_directory": "natives", - "classpath": (. as $root | [ .libraries[] | apply_optional | "${libraries_directory}/" + .downloads.artifact.path ] + ["${versions_directory}/\($root.id)/client.jar"] | join(":")), "clientid": "idfk", # log4j config path - "path": "${versions_directory}/\(.id)/log4j.xml", - - "launcher_name": "mcsh", - "launcher_version": "v0.1.0" + "path": "${versions_directory}/\(.id)/log4j.xml" } as $strings | walk(if type == "string" then gsub("\\${(?<key>.*)}"; "\($strings[.key] // "${\(.key)}")") end); |