Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

181
Views
Why aren't all of the URLs being downloaded?

Currently working on NuovoLauncher and have been charged with working on the core workings of the project. For those unaware, NuovoLauncher is in essence a Minecraft Launcher, although the vision is to take it much further.

However, I am struggling on the following: Getting all the Minecraft natives to download, which are needed to launch the game.

Here's the code I have so far

async function getNatives(version) {
asset_json = require(descriptorFolder + `/${version}.json`);
libraries = asset_json.libraries;
lib_url = [];
urls = []

for(lib of libraries) {
    try {
        lib_url = Object.values(lib.downloads.classifiers);
        for(jobj of lib_url) {
            partial_path = new URL(jobj.url).pathname;
            full_path = path.join(nativesFolder, partial_path);
            createFolderRecursive(partial_path);
            await utils.file.httpsGet(jobj.url, full_path);
        }
    } catch(error) {
        ;
    }
    
}}

Where the descriptor file is: https://launchermeta.mojang.com/v1/packages/ed5d8789ed29872ea2ef1c348302b0c55e3f3468/1.7.10.json

I know the code grabs all of the urls, its just not downloading all of the files.

Any ideas much appreciated -Connor

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!