()
| 450 | Module["removeRunDependency"]("setupBoxedWine"); |
| 451 | } |
| 452 | var initialSetup = function(){ |
| 453 | console.log("running initial setup"); |
| 454 | setConfiguration(); |
| 455 | if (Config.emEnvProps.length > 0) { |
| 456 | Config.emEnvProps.forEach(function(prop){ |
| 457 | ENV[prop.key] = prop.value; |
| 458 | }); |
| 459 | } |
| 460 | Module["addRunDependency"]("setupBoxedWine"); |
| 461 | initBrowserFilesystem(() => { |
| 462 | spinnerElement.style.display = ''; |
| 463 | spinnerElement.hidden = false; |
| 464 | |
| 465 | buildExtraFileSystems(() => { |
| 466 | buildAppFileSystem(() => { |
| 467 | loadFile(Config.locateRootBaseUrl, Config.rootZipFile, (rootZipfileBytes) => { |
| 468 | createFile("/", Config.rootZipFile, rootZipfileBytes); |
| 469 | buildBrowserFileSystem(); |
| 470 | }); |
| 471 | }); |
| 472 | }); |
| 473 | }); |
| 474 | } |
| 475 | function getEntriesAsPromise(item, exeFiles, allFiles, firstCall) { |
| 476 | return new Promise((resolve, reject) => { |
| 477 | if(firstCall){ |
nothing calls this directly
no test coverage detected