mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-11-15 11:39:11 +03:00
[FIX] Работа без BouncyCastle
This commit is contained in:
parent
ce28ac4057
commit
a84f489f0d
1 changed files with 6 additions and 1 deletions
|
@ -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");
|
||||||
Security.addProvider(new BouncyCastleProvider());
|
try {
|
||||||
|
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();
|
||||||
|
|
Loading…
Reference in a new issue