From 8a012c97b7ba3777d8d4b9c3a79416d5803a0877 Mon Sep 17 00:00:00 2001 From: Caroline Larimore Date: Mon, 18 Aug 2025 01:25:44 -0700 Subject: refactor: move launcher info from jq filter to script --- meta.jq | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'meta.jq') diff --git a/meta.jq b/meta.jq index 138ef15..c849674 100644 --- a/meta.jq +++ b/meta.jq @@ -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("\\${(?.*)}"; "\($strings[.key] // "${\(.key)}")") end); -- cgit v1.2.3