linuxmint / mintupdate

The Linux Mint Update Manager
320 stars 156 forks source link

Wrong update package for Minecraft #744

Open kneekoo opened 2 years ago

kneekoo commented 2 years ago

Describe the bug After installing Minecraft.deb from the official Minecraft website, mintUpdate sees version 1.0.1221 installed, while having 2.1.9618 in the official Linux Mint repository. This is a problem because the launcher coming from Microsoft allows the Microsoft login in addition to the Mojang login, while the "new" one coming from the Linux Mint repository only allows the Mojang login. This impacts the users who migrated their Minecraft accounts from Mojang to Microsoft because they can no longer login into Minecraft with the "new" launcher.

Screenshots linux-mint-19 3-minecraft-update

To Reproduce Steps to reproduce the behavior:

  1. You need a Minecraft license and a Microsoft account
  2. Download the Minecraft launcher
  3. Start up the launcher and note how you have two authentication methods: Microsoft and Mojang
  4. Update the launcher from mintUpdate, start the launcher and note how you only have the Mojang authentication option

Expected behavior Both authentication options have to be present in the launcher. I don't know who got this wrong, Microsoft or Linux Mint, but the package in the repository seems to be old.

Distribution:

Software version: mintUpdate 5.5.9

Additional context

Minecraft.deb seems to be fairly new; last-modified: Tue, 12 Apr 2022. The Mint package seems really old; Last-Modified: Mon, 25 Nov 2019.

curl -I https://launcher.mojang.com/download/Minecraft.deb
HTTP/2 200 
accept-ranges: bytes
age: 1065849
content-disposition: 
content-md5: EK977tAAEEYI7ryUfvY3yw==
content-type: application/octet-stream
date: Tue, 12 Jul 2022 03:04:10 GMT
etag: "0x8DA1CDDF14A51A1"
last-modified: Tue, 12 Apr 2022 23:41:18 GMT
server: ECAcc (frc/8F20)
x-cache: HIT
x-ms-blob-type: BlockBlob
x-ms-creation-time: Tue, 12 Apr 2022 23:41:18 GMT
x-ms-lease-state: available
x-ms-lease-status: unlocked
x-ms-request-id: b7ba9baa-b01e-0021-4eea-8bbaa2000000
x-ms-server-encrypted: true
x-ms-version: 2019-02-02
content-length: 482100

curl -I http://packages.linuxmint.com/pool/import/m/minecraft-launcher/minecraft-launcher_2.1.9618_amd64.deb
HTTP/1.1 200 OK
Content-Type: application/vnd.debian.binary-package
Accept-Ranges: bytes
ETag: "2812146876"
Last-Modified: Mon, 25 Nov 2019 12:05:23 GMT
Content-Length: 52280090
Date: Tue, 12 Jul 2022 03:07:50 GMT

More digging

This is quite unorthodox, but mintUpdate should:

I couldn't find an alternative .deb file including the latest full version of the launcher. I think that until they offer one, it would be best to stop recommending updates for Minecraft because they update the launcher themselves.