Uploaded image for project: 'Mojang Web Services'
  1. Mojang Web Services
  2. WEB-7619

Useless downloads from piston-meta

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • API
    • None

      This is taken from 1.21 manifest:

          {
            "downloads": {
              "artifact": {
                "path": "org/lwjgl/lwjgl-freetype/3.3.3/lwjgl-freetype-3.3.3-natives-windows-arm64.jar",
                "sha1": "82028265a0a2ff33523ca75137ada7dc176e5210",
                "size": 886068,
                "url": "https://libraries.minecraft.net/org/lwjgl/lwjgl-freetype/3.3.3/lwjgl-freetype-3.3.3-natives-windows-arm64.jar"
              }
            },
            "name": "org.lwjgl:lwjgl-freetype:3.3.3:natives-windows-arm64",
            "rules": [
              {
                "action": "allow",
                "os": {
                  "name": "windows"
                }
              }
            ]
          },
          {
            "downloads": {
              "artifact": {
                "path": "org/lwjgl/lwjgl-freetype/3.3.3/lwjgl-freetype-3.3.3-natives-windows-x86.jar",
                "sha1": "15a8c1de7f51d07a92eae7ce1222557073a0c0c3",
                "size": 877480,
                "url": "https://libraries.minecraft.net/org/lwjgl/lwjgl-freetype/3.3.3/lwjgl-freetype-3.3.3-natives-windows-x86.jar"
              }
            },
            "name": "org.lwjgl:lwjgl-freetype:3.3.3:natives-windows-x86",
            "rules": [
              {
                "action": "allow",
                "os": {
                  "name": "windows"
                }
              }
            ]
          }, 

      As you can see, downloads for arm64 and x86 don't specify architecture in `rules` section. This causes launcher to download useless libraries and waste traffic and disk space.
       

            mojangweb [Mojang] Web Team
            xllifi xllifi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: