diff options
| author | Caroline Larimore <caroline@larimo.re> | 2025-11-27 14:50:09 -0800 |
|---|---|---|
| committer | Caroline Larimore <caroline@larimo.re> | 2025-11-27 14:50:09 -0800 |
| commit | a44d91be60cd519ca4d83490f392b616b33e2890 (patch) | |
| tree | 3f3ecaf41e16107683fc5e11d6bdaafcda27e943 /mcsh.sh | |
| parent | 8c024b92c1d867f915de61186239b0e2c740a30d (diff) | |
Diffstat (limited to 'mcsh.sh')
| -rwxr-xr-x | mcsh.sh | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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" } |