aboutsummaryrefslogtreecommitdiff
path: root/mcsh.sh
diff options
context:
space:
mode:
authorCaroline Larimore <caroline@larimo.re>2025-08-18 01:25:44 -0700
committerCaroline Larimore <caroline@larimo.re>2025-08-18 01:25:44 -0700
commit8a012c97b7ba3777d8d4b9c3a79416d5803a0877 (patch)
treeccf483445bcb6dcfd60abbfeb758dc7cea9f2b43 /mcsh.sh
parent0acd9acd953dae1dea70a9c1af45b825713e8a89 (diff)
refactor: move launcher info from jq filter to script
Diffstat (limited to 'mcsh.sh')
-rwxr-xr-xmcsh.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/mcsh.sh b/mcsh.sh
index 778ff66..d3e57cb 100755
--- a/mcsh.sh
+++ b/mcsh.sh
@@ -74,8 +74,11 @@ function launch (
-e "s/\${versions_directory}/$VERSIONS_DIR/g" \
-e "s/\${libraries_directory}/$LIBRARIES_DIR/g" \
-e "s/\${natives_directory}/$NATIVES_DIR/g" \
- -e "s/\${assets_directory}/$ASSETS_DIR/g" \
- -e "s/\${game_directory}/$GAME_DIR/g"
+ -e "s/\${assets_root}/$ASSETS_DIR/g" \
+ -e "s/\${game_directory}/$GAME_DIR/g" \
+ \
+ -e "s/\${launcher_name}/mcsh/g" \
+ -e "s/\${launcher_version}/v0.1.0/g"
}
printf 'starting game :3\n' >&2