Uploaded image for project: 'Minecraft Launcher'
  1. Minecraft Launcher
  2. MCL-17153

Launcher workDir argument not working

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 2.2.2159 (Linux), 2.2.2528 (Linux)
    • None
    • None
    • Plausible
    • 683996

      The Launcher --workDir argument seems broken.

      When I download the Other Linux tarball (https://launcher.mojang.com/download/Minecraft.tar.gz)  and run

       

      ./minecraft-launcher --workDir /home/merlijn/testminecraft/.minecraft

       

      Minecraft downloads the files Launcher to /home/merlijn/testminecraft/.minecraft but then tries to execute a non-existent launcher in /home/merlijn/.minecraft.

       

      I attached four logs:

      • minecraft-launcher-cli-log.log is what I see in my terminal after running the above command.
      • I found launcher_log.txt and launcher_subprocess_log.txt in /home/merlijn/.minecraft
      • I found launcher_subprocess_log.txt in /home/merlijn/textminecraft/.minecraft

      From the CLI log, it seems as if the minecraft launcher gets executed multiple times. The first time, it correctly used workDir, but the second time, it seems to forget that parameter.

        1. launcher_cef_log.txt
          1 kB
        2. launcher_log.txt
          10 kB
        3. launcher_subprocess_log.txt
          0.4 kB
        4. minecraft-launcher-cli-log.log
          87 kB

            Unassigned Unassigned
            galgalesh Merlijn Sebrechts
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              CHK: