From a44d91be60cd519ca4d83490f392b616b33e2890 Mon Sep 17 00:00:00 2001 From: Caroline Larimore Date: Thu, 27 Nov 2025 14:50:09 -0800 Subject: feat: remove profile type --- mcsh.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/mcsh.sh b/mcsh.sh index be4697e..51c3b0a 100755 --- a/mcsh.sh +++ b/mcsh.sh @@ -122,7 +122,6 @@ function auth ( '. + { $profile: .[$profile] + { "xuid": $xuid, - "type": "msa", "refresh_token": { "token": $refresh_token, "expiration": ($refresh_token_exp | tonumber) @@ -171,7 +170,6 @@ function update_profile ( "username": .name, "uuid": $uuid, "xuid": $prev.xuid, - "type": $prev.type, "skins": .skins, "capes": .capes, "access_token": $prev.access_token, @@ -337,7 +335,7 @@ function launch ( -e "s/\${auth_player_name}/$(<<<"$profile" jq -r '.username')/g" \ -e "s/\${auth_uuid}/$(<<<"$profile" jq -r '.uuid')/g" \ -e "s/\${auth_xuid}/$(<<<"$profile" jq -r '.xuid')/g" \ - -e "s/\${user_type}/$(<<<"$profile" jq -r '.type')/g" \ + -e "s/\${user_type}/msa/g" \ -e "s/\${auth_access_token}/$(<<<"$profile" jq -r '.access_token.token')/g" } -- cgit v1.2.3