[ANY] Обновлены модули

This commit is contained in:
Gravit 2020-05-01 07:56:58 +07:00
parent 4ab66caad0
commit 7f48772663
No known key found for this signature in database
GPG key ID: 061981E1E85D3216
3 changed files with 20 additions and 5 deletions

View file

@ -1,9 +1,6 @@
package pro.gravit.launcher;
import pro.gravit.launcher.client.ClientLauncherEntryPoint;
import pro.gravit.launcher.client.ClientLauncherProcess;
import pro.gravit.launcher.client.ClientModuleManager;
import pro.gravit.launcher.client.DirBridge;
import pro.gravit.launcher.client.*;
import pro.gravit.launcher.client.events.ClientEngineInitPhase;
import pro.gravit.launcher.client.events.ClientExitPhase;
import pro.gravit.launcher.client.events.ClientPreGuiPhase;
@ -93,6 +90,7 @@ public static void main(String... args) throws Throwable {
LauncherEngine.checkClass(LauncherAgent.class);
LauncherEngine.checkClass(ClientLauncherEntryPoint.class);
LauncherEngine.modulesManager = new ClientModuleManager();
LauncherEngine.modulesManager.loadModule(new ClientLauncherCoreModule());
LauncherConfig.initModules(LauncherEngine.modulesManager);
LauncherEngine.modulesManager.initModules(null);
// Start Launcher

View file

@ -0,0 +1,17 @@
package pro.gravit.launcher.client;
import pro.gravit.launcher.modules.LauncherInitContext;
import pro.gravit.launcher.modules.LauncherModule;
import pro.gravit.launcher.modules.LauncherModuleInfo;
import pro.gravit.utils.Version;
public class ClientLauncherCoreModule extends LauncherModule {
public ClientLauncherCoreModule() {
super(new LauncherModuleInfo("ClientLauncherCore", Version.getVersion()));
}
@Override
public void init(LauncherInitContext initContext) {
}
}

@ -1 +1 @@
Subproject commit 20f142a845b37a231479bfbdec30ae472d18d29d
Subproject commit 4cb71b1c0a2b4a4b066c680979775c2dbf1a244e