-
Notifications
You must be signed in to change notification settings - Fork 180
Description
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.
To Reproduce
Steps to reproduce the behavior:
- You need a Minecraft license and a Microsoft account
- Download the Minecraft launcher
- Start up the launcher and note how you have two authentication methods: Microsoft and Mojang
- 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:
- Linux Mint 19.3
- LMDE <- not sure, but if Mint serves the same package for LMDE, that's wrong too
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
- the current
Minecraft.debfrom Microsoft is indeed 1.0.1221, so mintUpdate is right - the package installs a binary file (stub) in
/usr/share/, a.desktopfile in/usr/share/applications/, as well as an icon - once launched, it downloads its updates in the current user's home directory
- the updated launcher found in
$HOMEis currently at version 2.3.280 - the launcher version is stored in
~/.minecraft/launcher_ui_state.json, indata->UiSettings->lastCoreVersion
This is quite unorthodox, but mintUpdate should:
- stop recommending updates for the Minecraft launcher
- (if it detects the launcher, and Mint can offer an up-to-date version) check the user's home for the version before proposing the update
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.
