Minor fixes
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user