Fix Runtime Unrecognizable

This commit is contained in:
Gregory Mitchell 2024-06-18 22:11:58 -05:00
parent 07ea605e4b
commit db1c6faf09
No known key found for this signature in database
GPG key ID: 771A6C995A086B84

View file

@ -10,6 +10,7 @@ import {SemeruDistribution} from './semeru/installer';
import {CorrettoDistribution} from './corretto/installer';
import {OracleDistribution} from './oracle/installer';
import {DragonwellDistribution} from './dragonwell/installer';
import {JetBrainsDistribution} from "./jetbrains/installer";
enum JavaDistribution {
Adopt = 'adopt',
@ -65,6 +66,8 @@ export function getJavaDistribution(
return new OracleDistribution(installerOptions);
case JavaDistribution.Dragonwell:
return new DragonwellDistribution(installerOptions);
case JavaDistribution.JetBrains:
return new JetBrainsDistribution(installerOptions);
default:
return null;
}