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 a proxy option #486

Open
Blue-Beaker opened this issue Apr 7, 2021 · 3 comments
Open

Add a proxy option #486

Blue-Beaker opened this issue Apr 7, 2021 · 3 comments

Comments

@Blue-Beaker
Copy link

Please a proxy option for users that can't access google directly and must use a proxy.
proxy environment variables doesn't work, and proxychains causes bugs.

@chewi
Copy link
Contributor

chewi commented Oct 31, 2021

I found that the Google bits and the launcher itself work fine with setting https_proxy like usual. It's the game that has trouble. It fails at the piracy check. proxychains doesn't help.

I'm not entirely surprised though, Java edition doesn't work either, even when passing additional JVM arguments. proxychains doesn't work there because it's ineffective against Java. I've therefore had to put in a special rule for Minecraft to bypass the firewall.

@ChristopherHX
Copy link
Member

It fails at the piracy check

You mean the check of release v0.3.0 for 1.17.40+? The old check used curl and should work for proxies.
Thank you for confirming that setting proxy env variables is working for the GUI, I was to lazy to setting up a proxy and test it myself.

I published the code, feel free to remove the playapi calls and put the .so file into your launcher mods folder
https://github.com/minecraft-linux/mcpelauncher-updates, then proxies should work.

I'm no longer working on it. Some linux anti drm folks are too hostile for me, after 2 years of maintaining this launcher.

@chewi
Copy link
Contributor

chewi commented Nov 1, 2021

Yes, the 1.17.40+ check.

I'm not too familiar with how the project all fits together. I tried it once years ago, and set it up for my daughter last weekend. She's very happy. The proxy is for her safety, but excluding Minecraft from it is safe enough, so happy to continue with my workaround.

I'm not sure if you're saying you're stepping away from the entire project. I found the chat on Discord that I think you're referring to. Sadly there'll always be vocal idiots in the community, not least on Discord. I recommend just keeping your head down and doing what you think is best. Whether you're stepping away or not, many thanks for all your hard work. This Microsoft employee actually appreciates it! 😄

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

No branches or pull requests

3 participants