Minor fixes

This commit is contained in:
2026-09-06 04:58:10 +02:00
parent 0f2c6677f1
commit 62ee550af7
5 changed files with 94 additions and 90 deletions
+2 -1
View File
@@ -18,7 +18,8 @@ async function installJava(mcVersion, customExec = null) {
const installationPath = await sysinfo.determineInstallationPath(component, majorVersion, customExec)
const requiredComponentDetails = await web.getJREComponentDetails(component, sysinfo.getPlatformKey())
const requiredComponentManifest = await web.getJREComponentManifest(requiredComponentDetails[0].manifest.url)
return await installer.downloadJavaComponent(requiredComponentManifest, installationPath)
return installer.downloadJavaComponent(requiredComponentManifest, installationPath)
}
module.exports = {