minecraft-linux / mcpelauncher-manifest

The main repository for the Linux and Mac OS Bedrock edition Minecraft launcher.
https://minecraft-linux.github.io
GNU General Public License v3.0
954 stars 99 forks source link

Proxy support #686

Open inferrna opened 2 years ago

inferrna commented 2 years ago

Hi. I faced same problem as #479. So please, add proxy support in settings. Setting proxy via environment variables seems not working. For example

QTWEBENGINE_CHROMIUM_FLAGS="--enable-logging=stderr --v=1" ./Minecraft_Bedrock_Launcher-x86_64-v0.3.4.688.AppImage

shows no output, so QTWEBENGINE_CHROMIUM_FLAGS also isn't working. If there is a way to use proxy with appimage please add it to wiki.

ChristopherHX commented 2 years ago

After an issue that the launcher-ui spams the console with logs I decided to add a verbose flag.

Doing this should print more to the Terminal.

QTWEBENGINE_CHROMIUM_FLAGS="--enable-logging=stderr --v=1 --no-sandbox" ./Minecraft_Bedrock_Launcher-x86_64-v0.3.4.688.AppImage -v

You need to add --no-sandbox, since the sandbox crashes on newer linux distributions ( ubuntu 16.04 - 20.04 works without --no-sandbox ) and you are overriding the internal QTWEBENGINE_CHROMIUM_FLAGS value of the AppImage.

This flag is listed by ./Minecraft_Bedrock_Launcher-x86_64-v0.3.4.688.AppImage --help

Setting proxy via environment variables seems not working.

I thought that should work, but the AppImage is overriding the curl https certificate store, after reported issues on fedora unable to verify the google certificate.

I have never used a proxy, I have no experience in this topic.