Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for multiple system accounts #61

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

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

WUTokenHelper/main.h Outdated Show resolved Hide resolved
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?

@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