How does Construct 2 check for NWjs files?

0 favourites
  • 3 posts
From the Asset Store
Casino? money? who knows? but the target is the same!
  • Is the path for the NWjs file/folder check always "C:\Program Files\NWjsForC2" or is the path stored somewhere in the registry or a config file?

    Was going to provide installers myself but I feel like it's not worth it, if the path is absolute and never changes. People could just download the files and put them there themselves.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • If you look around in the registry you should find HKEY_CURRENT_USER\SOFTWARE\Scirra\Construct2\NodeWebkitPath, which is the first path it checks.

    If it can't find NW.js at that path, it checks a hard-coded fallback list of the following paths:

    C:\Program Files\NWjsForC2\

    C:\Program Files (x86)\NWjsForC2\

    C:\Program Files\NodeWebkitForC2\

    C:\Program Files (x86)\NodeWebkitForC2\</p>

  • If you look around in the registry you should find HKEY_CURRENT_USER\SOFTWARE\Scirra\Construct2\NodeWebkitPath, which is the first path it checks.

    If it can't find NW.js at that path, it checks a hard-coded fallback list of the following paths:

    C:\Program Files\NWjsForC2\

    C:\Program Files (x86)\NWjsForC2\

    C:\Program Files\NodeWebkitForC2\

    C:\Program Files (x86)\NodeWebkitForC2\</p>

    Thanks for the info! I'll just tell people to put the NWjs files into one of those file paths in the future.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)