Skip to content

Conversation

rtm516
Copy link

@rtm516 rtm516 commented Nov 17, 2020

Fix issues when you have more than 1 account on a machine. This now loops all known accounts if the previous doesn't have access to download Minecraft.

I have attached the updated exe and dll below
MCLauncher.zip

try {
TryGetToken(accountInfo, tokenBase64);
}
catch (...) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't like this. I'd be happier if it caught something specific.

Moreover, it shouldn't just silently swallow an error if one occurs.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm no expert at C++ so wouldn't know the best way of doing that, could you implement it?

@rtm516 rtm516 force-pushed the fix-multi-accounts branch from 769d69c to 0d21a19 Compare February 20, 2021 02:00
@ThePixelGamer
Copy link

Is this still being worked on? We have something similar for our launcher and I was considering adding the functionality to this repo.

@dktapps
Copy link
Collaborator

dktapps commented Feb 18, 2022

It's no longer necessary with the advent of preview builds so it may end up being redundant.

@rtm516
Copy link
Author

rtm516 commented Feb 18, 2022

Is this still being worked on?

I've been using the modified version for ages now with no issues, even modified it further and used it for other projects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants