[FIX] Работа без BouncyCastle

This commit is contained in:
Gravit 2019-10-16 16:58:22 +07:00
parent ce28ac4057
commit a84f489f0d
No known key found for this signature in database
GPG key ID: 061981E1E85D3216

View file

@ -34,7 +34,12 @@ public static void main(String... args) throws Throwable {
//if(!LauncherAgent.isStarted()) throw new SecurityException("JavaAgent not set"); //if(!LauncherAgent.isStarted()) throw new SecurityException("JavaAgent not set");
LogHelper.printVersion("Launcher"); LogHelper.printVersion("Launcher");
LogHelper.printLicense("Launcher"); LogHelper.printLicense("Launcher");
try {
Security.addProvider(new BouncyCastleProvider()); Security.addProvider(new BouncyCastleProvider());
} catch (Exception ignored)
{
LogHelper.warning("BouncyCastle not found");
}
LauncherEngine.modulesManager = new ClientModuleManager(); LauncherEngine.modulesManager = new ClientModuleManager();
LauncherConfig.getAutogenConfig().initModules(); LauncherConfig.getAutogenConfig().initModules();